

GitHub - MidnightDesign/package-cohesion: Checks how cohesive a Composer package...
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.

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 upBranch: master Go to file
CodeREADME.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.
Recommend
-
138
Error 404
-
59
Using composer hooks to automatically configure PHP Codesniffer ensures consistent style checks for the entire team.
-
9
Cohesion and Coupling in OOPDecember 15th 2020 new story4
-
16
Real-cohesive homotopy type theory Two new papers have recently appeared online: Both of them have fairly chatty introductions, so...
-
11
Building trust with cohesive content The internet is swamped with too much content. Unfortunately, also too much content nobody wants to read. In my #liiptips I share...
-
2
Finances simplified in a cohesive and connected mannerSort by: Hey Product Hunt This is Finance OS - A complete finance management system built inside of Notion. I wanted an all in one place to keep track of my f...
-
8
Ranked #2 for todayCohesive AIThe most powerful AI editorSay goodbye to struggling with ChatGPT prompts! Cohesive combines AI brilliance with your creativ...
-
7
Support is great. Feedback is even better."We would love to hear your thoughts on the following: - How intuitive did you find the text-to-speech conversion process? - Were you satisfied with the range and quality of the voices offer...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK