what3words/w3w-php-wrapper

Submit the repo to https://packagist.org/

Closed this issue · 4 comments

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:

<?php
require 'vendor/autoload.php';

$w3w = new what3words('abcdef');

The packagist.org page also tracks and shows download stats for the repo.

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.

😄