Installs: 524

Dependents: 0

Stars: 1

Watchers: 1

Language: PHP

v1.0 2013-09-22 16:48 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.