PHP Classes

What is the best PHP vehicle tracking system class?: Getting distance to calculate fuel used and cost from map

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP vehicle tracking...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP vehicle tracking system class?

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of Ignatius Charewa by Ignatius Charewa - 5 years ago (2020-03-24)

Getting distance to calculate fuel used and cost from map

This request is clear and relevant.
This request is not clear or is not relevant.

+2

A company suffers from fuel misuse, reckless driving and unauthorized journeys.

The system must calculate fuel used, distance traveled, granted driver permission and time taken to cover a certain journey.

Ask clarification

2 Recommendations

PHP Openstreetmap Route API: Calculate route between two locations with OSM API

This class can calculate routes between two locations with OpenStreetMap API.

It can send HTTP requests to the OpenStreetMap API Web server to query the route between two given locations, using a given type of vehicle.

The class can return the route details like the distance to travel, the duration of the trip, trip instructions, and a list of segments that connect locations with given coordinates that form the route.

The returned route can be downloaded or saved to a file in GPX format.
This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Stefan Kientzler by Stefan Kientzler package author package author Reputation 425 - 5 years ago (2020-03-28) Comment

I do not know if it is the best class, but it fulfills the requirements in my project (determining the route and estimated travel time between two or more locations). The class can also save the calculated route for visualization as a GeoJSON or GPX file. In connection with the optionally specified OSM-Nominatim class routes can also be determined without existing geolocations.


PHP Vehicle Routing Problem: Compute routes of trucks delivering client orders

This class can compute routes of trucks delivering client orders.

It takes the geographic coordinates of a depot and the locations clients with orders to be delivered by a fleet of trucks.

The class uses a 2-phase algorithm for solving the open capacitated vehicle routing problem.

It tries to minimize the total route cost by trying all possible combinations. The trucks are not required to return to the depot.
This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 5 years ago (2020-03-25) Comment

There is this class for finding routes that you may use to calculate distances but this is not a complete system as you seem to be looking for.


Recommend package
: 
: