Skip to main content

Tooling

Hidden Gems of Composer

·322 words·2 mins
I hope everyone in the PHP world is aware of composer the dependency management tool that gives an end to Pear. We can look into some of the hidden gems of composer. Some of them are already documented in the composer docs. Bug Fixing : # Documented over Loading a package from a VCS repository 1 2 3 4 5 6 7 8 9 10 11 { "repositories": [ { "type": "vcs", "url": "https://github.com/igorw/monolog" } ], "require": { "monolog/monolog": "dev-bugfix" } } The above example assume you have pushed your code to github. But you can also make use of the local directory.