PHPackages                             foodcheri/routific-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. foodcheri/routific-bundle

ActiveSymfony-bundle[API Development](/categories/api)

foodcheri/routific-bundle
=========================

Routific PHP SDK bundle

v1.0.0(10y ago)03.8kproprietaryPHP

Since Jun 14Pushed 6y ago14 watchersCompare

[ Source](https://github.com/foodcheri/RoutificBundle)[ Packagist](https://packagist.org/packages/foodcheri/routific-bundle)[ RSS](/packages/foodcheri-routific-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

RoutificBundle
==============

[](#routificbundle)

SDK Routific

Installation
------------

[](#installation)

Install the bundle by addind the following lines into composer.json

```
"require": {
	...
	"foodcheri/routific-bundle": "dev-master"
},
"repositories": [{
	"type": "vcs",
        "url": "https://github.com/foodcheri/RoutificBundle.git"
}],

```

Update your vendors

```
composer update

```

Add the configuration in config.yml

```
...
routific:
    api_url: ~ #default: https://api.routific.com/v1
    token_key: routific_token

```

Usage
-----

[](#usage)

Instantiate the Routific client :

```
$clientRoutific = $this->get('foodcheri_sdk_routific.client');

```

To resolve Vehicle Routing Problem, instantiate a VehicleRoutingProblem Enpoint object :

```
$problem = new VehicleRoutingProblem();

```

Add a visit to a problem endpoint :

```
$problem->addVisit("order_1", array(
	"location" => array(
        "name" => "Visit1 name",
        "lat" => 49.227607,
        "lng" => -123.1363085
    ),
    "start" => "19:00",
    "end" => "19:30",
    "duration" => 5,
    "load" => 1,
    "type" => "A",
    "priority" => "high"
	)
);

```

Add a vehicle to a problem endpoint :

```
$problem->addVehicle("vehicle_1", array(
	"start_location" => array(
		"id" => "hub id"
        "name" => "hub name",
        "lat" => 49.227607,
        "lng" => -123.1363085
    ),
    "end_location" => array(
		"id" => "hub id",
        "name" => "hub name",
        "lat" => 49.227607,
        "lng" => -123.1363085
    ),
    "shift_start" => "18:00",
    "shift_end" => "22:30",
    "min_visits" => 10,
    "capacity" => 20,
    "type" => ["A", "B"],
    "speed" => "bike",
    "strict_start" => true,
    "break_start" => "12:00",
    "break_end" => "13:30",
    "break_duration" => 30
	)
);

```

Add an option to a problem endpoint :

```
"options": {
   "traffic": "slow",
   "min_visits_per_vehicle": 5,
   "balance": true,
   "min_vehicles": true,
   "shortest_distance": true
}

```

```
$problem->addOption(array("traffic" => "slow"));

```

Finaly execute the route calculation for the endpoint problem :

```
$clientRoutific->route($problem);

```

Response
--------

[](#response)

```
{
  "status": "success",
  "total_travel_time": 31.983334,
  "total_idle_time": 0,
  "num_unserved": 0,
  "unserved": null,
  "solution": {
    "vehicle_1": [
      {
        "location_id": "depot",
        "location_name": "800 Kingsway",
        "arrival_time": "08:00"
      },
      {
        "location_id": "order_3",
        "location_name": "800 Robson",
        "arrival_time": "08:10",
        "finish_time": "08:20"
      },
      {
        "location_id": "order_2",
        "location_name": "3780 Arbutus",
        "arrival_time": "08:29",
        "finish_time": "09:10"
      },
      {
        "location_id": "order_1",
        "location_name": "6800 Cambie",
        "arrival_time": "09:19",
        "finish_time": "09:29"
      },
      {
        "location_id": "depot",
        "location_name": "800 Kingsway",
        "arrival_time": "09:39"
      }
    ]
  }
}

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3667d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83024150?v=4)[davidginat](/maintainers/davidginat)[@davidginat](https://github.com/davidginat)

---

Top Contributors

[![floranpagliai](https://avatars.githubusercontent.com/u/2648131?v=4)](https://github.com/floranpagliai "floranpagliai (6 commits)")[![dginat](https://avatars.githubusercontent.com/u/1677655?v=4)](https://github.com/dginat "dginat (1 commits)")

---

Tags

SDK Routific bundle

### Embed Badge

![Health badge](/badges/foodcheri-routific-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/foodcheri-routific-bundle/health.svg)](https://phpackages.com/packages/foodcheri-routific-bundle)
```

###  Alternatives

[bandwidth/sdk

Bandwidth's set of APIs

16980.0k1](/packages/bandwidth-sdk)[messagemedia/messages-sdk

The MessageMedia Messages API provides a number of endpoints for building powerful two-way messaging applications.

12413.0k](/packages/messagemedia-messages-sdk)[vittominacori/coinmarketcap-php

A PHP wrapper for CoinMarketCap API

2134.0k](/packages/vittominacori-coinmarketcap-php)[hok00age/rajaongkir

PHP client for consuming RajaOngkir API

131.3k](/packages/hok00age-rajaongkir)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
