pk-fr / yakpro-po

YAK Pro - Php Obfuscator
http://www.php-obfuscator.com
Other
1.27k stars 354 forks source link

Add dependency manager #30

Closed GuillaumeVerdon closed 6 years ago

GuillaumeVerdon commented 6 years ago

Hello @pk-fr ,

I saw lately your post on https://openclassrooms.com/forum/sujet/yak-pro-php-obfuscator-1

The project is nice but it lacks professional dependency management. You can't ask your users to clone repositories through git and install them relatively to the project.

I added composer and adapted your code to its autoloader. I also updated the readme to show you how to install it with composer.

Feel free to review / adapt my code. I tested it with php 7.0 and was able to obfuscate a php file, I did not try in every configuration though. As there is no unit test, this could insert regression, so please, run all test you need before merging :)

Have a nice day and continue your learning !

pk-fr commented 6 years ago

no way! I hate composer !