Closed chrisbarr closed 8 years ago
Should be pretty straightforward to do, it will ask you to add a git hook to the repo. Means that users will be able to do this:
// composer.json { name: "chrisbarr/my-project", require: { "what3words/w3w-php-wrapper": "~1.0" } }
Then run composer update and the class will be available via the Composer autoloader like so:
composer update
<?php require 'vendor/autoload.php'; $w3w = new what3words('abcdef');
The packagist.org page also tracks and shows download stats for the repo.
Done; see https://packagist.org/packages/what3words/w3w-php-wrapper
Amazing, thank you!
@chrisbarr Ask and you shall receive; except where void, prohibited by law or in the rare case I haven't had enough coffee.
:smile:
Should be pretty straightforward to do, it will ask you to add a git hook to the repo. Means that users will be able to do this:
Then run
composer update
and the class will be available via the Composer autoloader like so:The packagist.org page also tracks and shows download stats for the repo.