Download the PHP package ehsan_coder/neshan-laravel without Composer
On this page you can find all versions of the php package ehsan_coder/neshan-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ehsan_coder/neshan-laravel
More information about ehsan_coder/neshan-laravel
Files in ehsan_coder/neshan-laravel
Download ehsan_coder/neshan-laravel
More information about ehsan_coder/neshan-laravel
Files in ehsan_coder/neshan-laravel
Vendor ehsan_coder
Package neshan-laravel
Short Description Easy-to-use SDK for implementing Neshan RestFull web APIs in your Laravel projects.
License MIT
Package neshan-laravel
Short Description Easy-to-use SDK for implementing Neshan RestFull web APIs in your Laravel projects.
License MIT
Please rate this library. Is it a good library?
Informations about the package neshan-laravel
Neshan Laravel SDK
Easy-to-use SDK for implementing Neshan APIs in your Laravel projects.
## Install > The easiest way to install is by using Composer: *** > Composer is a dependency manager for PHP which allows you to declare the libraries your project depends on, and it will manage (install/update) them for you. If you are not familiar with Composer, you can read its documentations and download it via [getcomposer.org](https://getcomposer.org/). ## configuration `.env` file > add account information into `.env` file *** ## usage To use the package, you need an API key. To get that you should have a [Neshan](https://neshan.org/) account. Register and get your API key.
Use `NeshanFacade` on top of your controller or wherever you want: > all APIs of Neshan exist in this Facade! for example to use `distanceMatrix` API we can use: ### for Example ## Parameters | Parameter | Required | Description | Type | Example | | --- | --- | --- | --- | --- | | $origins | Yes | all origins! every origin must separated by pipe character | string | 36.279589071020425,50.00901454609652 | | $destinations | Yes | same of origins parameter| string | 38.279589071020425,51.00901454609652 | | $type | No | default value is car | string | car | | $timeout | No | default value of timeout is 5 sec | int | 10 |
All versions of neshan-laravel with dependencies
PHP Build Version
Package Version
The package ehsan_coder/neshan-laravel contains the following files
Loading the files please wait ....