mammutgroup / cedarmap
cedar maps api package
Installs: 60
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Type:dev
Requires
- php: >=5.6.0
This package is not auto-updated.
Last update: 2024-11-24 02:43:48 UTC
README
Requirements:
- php ~5.6.*
Instalation:
First add package name to your composer requirements
"require": { "mammutgroup/cedarmap": "dev" }
Next, update Composer from the Terminal:
composer update
Next, add your new provider to the providers array of config/app.php:
'providers' => [ // ... Cedar\CedarServiceProvider::class, // ... ]
Next, add class alias to the aliases array of config/app.php:
'aliases' => [ // ... 'Cedar' => Cedar\CedarFacade::class // ... ]
Finally, run:
php artisan vendor:publish
Ho to use:
$geocode = (new Cedar\Cedar('v1')) ->load('geocode') ->setParamByKey('title', 'ونک'); dd($geocode->getJson())