Nexmo-PHP-lib
Nexmo-PHP-lib copied to clipboard
Add composer.json and add library to Packagist.org
Can you please add a basic composer.json and then add the library to packagist.org?
The content of the json file should be something like
{ "description": "PHP library for sending text messages via Nexmo.", "name": "prawnsalad/nexmo-php-lib", "type": "library", "keywords" : ["nexmo", "php"], "homepage": "https://github.com/prawnsalad/Nexmo-PHP-lib" ], "require": { "php": ">=5.3.2" }, "autoload": { "psr-0": { "Nexmo": "" } } }
@prawnsalad Anything new about this ? The lack of composer prevents many from using this library.
@dorongutman @Rvanlaak i think this is necessary too.. but as a workaround you can add the package to composer.json and define the target manually with "repositories":
"repositories": [
{
"type": "vcs",
"url": "https://github.com/prawnsalad/Nexmo-PHP-lib.git"
}
],
I just started to use https://github.com/civocr/nexmo-php-lib
That lib had composer support from the beginning ;-)
@Rvanlaak thank you for that fork.. i'll better use this too.. :)