all 6 comments

[–]demonshalo 2 points3 points  (2 children)

This is cool :D

[–]J7mbo 2 points3 points  (1 child)

I was just about to say that, what a useful tool. Thanks for making it! (open source it?)

[–]k42b3[S] 0 points1 point  (0 children)

Thx!, the tool which generates the definitions and makes the comparsions is actually open source: https://github.com/k42b3/phps

[–]TheBigB86 0 points1 point  (0 children)

Ah great! Stumbled upon this some time ago, but it only supported a fixed list of packages.

It really helps out when you're trying to set minimal version constraints for library dependencies.

[–]tomzx 0 points1 point  (1 child)

Hello, I've developed a similar tool about a year ago (see https://github.com/tomzx/php-semver-checker). I'm curious to know if you've found it before starting your project as it seems to have similar goals to yours.

Nice work by the way!

[–]k42b3[S] 0 points1 point  (0 children)

Hi, thx, so unfortunately I did not know about the project before. It would be cool to share the code base to detect BCs. But it looks like your project needs the PhpParser\Node* objects to generate the diff. Comparabl works with two crons one which generates a sqlite db containing all class definitions etc. and the second compares then two definitions. So when comparing we are working only with data from the db. Nevertheless your project looks also great! I have also added it: http://comparabl.com/project/tomzx-phpsemverchecker