Download the PHP package shayanizadi/routific without Composer
On this page you can find all versions of the php package shayanizadi/routific. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package routific
Routific PHP
The Routific PHP library provides convenient access to the Routific API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses.
Requirements
PHP 7.2.0 and later.
Composer
You can install the bindings via Composer. Run the following command:
To use the bindings, use Composer's autoload:
Getting Started
Simply set your Routific API key:
Documentation
See the Routific API docs.
SET VISITS
First step you must set up your visit endpoints :
SET VEHICLES
Then you can define your vehicles (drivers) :
Optimize Route for Vehicle Routing
Now you can choose based on your purpose to use API that suits your situation
If you want use just vehicle routing optimization:
Optimize Route for Pickup & Delivery
If you are looking for Pickup and Delivery optimizer :
Use Long Running tasks API
If you wish to use Long Running Tasks Api, you have to simply set input for optimizeRoute as TRUE:
Then you have to retrieve job that has been created:
For running tests
If you wish to run tests, first you must change composer in this way:
Then run dump autoload command
Appreciate Contributions
We welcome contributions from everyone! If you'd like to contribute to this project, follow these steps:
1- Fork the repository. 2- Create a new branch for your feature or bug fix 3- Commit your changes and push your branch 4- Open a pull request and explain your changes.
Your contributions will help make this project even better. Thank you for your support!
License
This project is licensed under the MIT License. You are free to use, modify, and distribute this project as long as you include the original license file. For more details, see the LICENSE file .
All versions of routific with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/psr7 Version ^1.7 || ^2.0
guzzlehttp/guzzle Version ^6.4 || ^7.2