iziteq / izi-api-schemes

JSON Schemes for IZI.API validation
2 stars 2 forks source link

PHP/Composer integration #2

Closed bartfeenstra closed 9 years ago

bartfeenstra commented 9 years ago

Composer.json is the manifest file for Composer, the industry standard PHP package manager.

Assets.php contains a small snippet of code to easily let PHP code find the location of the schema files. This is because the location as seen from the calling code depends on the project structure (whether the calling code is the main application or also a dependency).

bartfeenstra commented 9 years ago

Great, thank you!

vitaly-dukhov commented 9 years ago

Merged.

bartfeenstra commented 9 years ago

The last step that needs to be taken is to submit the package to http://packagist.org. Would you have a few minutes to do this? Only repository administrators can do this, otherwise I would have done this already.

vitaly-dukhov commented 9 years ago

Done. https://packagist.org/packages/iziteq/izi-api-schemes. Need to add GitHub Service Hook?

bartfeenstra commented 9 years ago

Yes. Those hooks let Github notify Packagist whenever a new commit was made, so Packagist can update the release data.

Thank you!

vitaly-dukhov commented 9 years ago

Have done