Azure composer packages support!
You have private azure git repository, and You want to use it in composer?
No Plugins!
You don't have to install any additional plugins for Your app or composer!
Git tags support!
Use git tags to versioning your package!
Team friendly!
No one form your teem don't have to install anything new!
Easy package publish!
For publish new version You need only one call to API!
How it works?
Setting up composer.json file:
{
"repositories": [
{
"type": "composer",
"url": "https://api.php-composer-azure.com/api/composer/YOUR-TOKEN/packages.json"
}
],
"require": {
"vendor-name/package-name": "^1.5",
"monolog/monolog": "^3.2"
}
}
"repositories": [
{
"type": "composer",
"url": "https://api.php-composer-azure.com/api/composer/YOUR-TOKEN/packages.json"
}
],
"require": {
"vendor-name/package-name": "^1.5",
"monolog/monolog": "^3.2"
}
}
Publish package:
curl -X POST -d 'repositoryName=repository-name' -d 'version=1.5.0' https://api.php-composer-azure.com/api/package/YOUR-TOKEN/publish