Closed RobLoach closed 11 years ago
@cadorn Have you had a chance to review this yet? Would be great to be able to obtain FirePHP via Composer.
Not yet. I like the idea. Will take a look as soon as I can (not sure when yet).
putting { "require": { "firephp/firephp-core": "dev-master" } } into composer.json works fine ...
Is it broken? Cause it doesn't work...Composer has a "RuntimeException". Failed to clone... other Extensions via composer.json working fine...
@WebconsultsEU It's working because it's checking out the fork that I'm hosting at: https://github.com/RobLoach/firephp-core https://packagist.org/packages/firephp/firephp-core
Would be nice to have this merged into this repository so that it checks out the main repository rather than my fork.
curl http://getcomposer.org/composer.phar
php composer.phar create-project firephp/firephp-core
Thanks.
Let me know if there are any issues. Sorry for the delay.
@cadorn Thanks a lot for the help! :+1: ..... I had the Packagist/Composer team update to the correct Canonical URL: https://packagist.org/packages/firephp/firephp-core
Composer is a dependency management system for PHP packages. This pull request adds Composer support to FirePHP Core. Having this means that a project that depends on FirePHP could put this in their composer.json file to have it automatically download and autoload FirePHP:
When installing the client application, you would run "php composer.phar install", and it would download FirePHP-Core, and have the FirePHP class autoloaded so that the files would be included automatically when the FirePHP class is used. Any package on http://packagist.org could then also depict a dependency on the package if needed.
Thanks a lot!