Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add Composer support to FirePHP Core #6

merged 1 commit into from

4 participants


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:

    "require": {
        "firephp/firephp-core": "*"

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 could then also depict a dependency on the package if needed.

Thanks a lot!


@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).


"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:

Would be nice to have this merged into this repository so that it checks out the main repository rather than my fork.

php composer.phar create-project firephp/firephp-core


@cadorn cadorn merged commit e6cbdae into from

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 29, 2012
  1. @RobLoach
This page is out of date. Refresh to see the latest.
Showing with 26 additions and 0 deletions.
  1. +26 −0 composer.json
26 composer.json
@@ -0,0 +1,26 @@
+ "name": "firephp/firephp-core",
+ "description": "Traditional FirePHPCore library for sending PHP variables to the browser.",
+ "type": "library",
+ "homepage": "",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Christoph Dorn",
+ "email": "",
+ "homepage": ""
+ }
+ ],
+ "support": {
+ "forum": "",
+ "issues": "",
+ "source": ""
+ },
+ "autoload": {
+ "classmap": [
+ "lib/FirePHPCore/FirePHP.class.php",
+ "lib/FirePHPCore/fb.php"
+ ]
+ }
Something went wrong with that request. Please try again.