21

GitHub - MidnightDesign/package-cohesion: Checks how cohesive a Composer package...

 4 years ago
source link: https://github.com/MidnightDesign/package-cohesion
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Join GitHub today

GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.

Sign up

Branch: master Go to file

Code

README.md

midnight/package-cohesion

This script checks how cohesive your Composer package is, i.e., your file dependency clusters.

If you've got a single cluster, you're all good, your package is very cohesive. If you've got one big cluster and several small ones, you should be fine. If you've got 2 or more larger clusters, you probably want to split your package into several smaller packages.

Inspired by the chapter on modules in Uncle Bob's "Clean Architecture".

How to run

php check.php path/to/your/project

Why ist this just a script?

No .phar file? No Composer plugin? Just a script?

I just threw this together in a couple of hours. If there's interest, I'll work on it a little more.

About

Checks how cohesive a Composer package is

Resources

Releases

No releases published

Languages


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK