v1.0 2013-09-22 16:48 UTC

This package is auto-updated.

Last update: 2020-02-11 18:49:40 UTC


README

Continent, country, ocean and sea handling for Laravel. Still being developed for ScubaClick, so handle with care for now!

Stable Version

v1.0

General Installation

Install by adding the following to the require block in composer.json:

"scubaclick/geo": "dev-master"

Then run composer update.

Laravel-specific Installation

Add the following in app/config/app.php to the service providers array:

'ScubaClick\Geo\Providers\LaravelServiceProvider',

Then add to the aliases array the following:

'Geo' => 'ScubaClick\Geo\Facades\LaravelFacade',

Usage

$countries = \Geo::countries(true)->all();

License

ScubaClick Geo is licenced under the MIT license.