mammutgroup/cedarmap

There is no license information available for the latest version (0.5.0) of this package.

cedar maps api package

Installs: 60

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 0

Open Issues: 0

Language:HTML

Type:dev

0.5.0 2017-07-22 03:17 UTC

This package is not auto-updated.

Last update: 2022-08-06 15:10:50 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())