TomFrost / Hydrogen

Hydrogen is a PHP 5.3+ performance and portability library
http://www.hydrogenphp.com
Other
40 stars 11 forks source link

Composer support #21

Closed nbomberger closed 7 years ago

nbomberger commented 11 years ago

Added composer.json and modified autoconfig to function with composer. Tested on some personal projects. Allows developer to install using composer, and run out of the box.

To test, simply add this to your composer.json under the "repositories" property.

      {
        "type": "vcs",
        "url" : "https://github.com/nbomberger/Hydrogen"
      }

And under "require":

  "hydrogen/hydrogen": "@dev"

This has not been submitted to Packagegist yet, but can be tested using the above. To submit to Packagegist, you may need to modify the license file. This will download from the forked repository, however, to merge with main simply add the composer.json and submit to packagegist.