A simple API made with PHP to trace vehicles in real time
- Vehicle ID & Passkey (only you can update your position with the passkey)
- Multiple clients (clients can see vehicle positions)
- MySQL based
- API access to get all or specific vehicle location (with client passkey)
- Better client
- Vehicle location log
- Vehicle client
- Web server with PHP
- MySQL server
- Download resources: Go to Releases and download
database.sql
andserver.zip
from the latest release. - Configure MySQL: Import
database.sql
to your MySQL server. The import will create a database namedvehicles
, but you can rename it. - Upload files to your server: Unzip
server.zip
and upload the contents to your web server. - Setup the server: Open
config/config.php
, and setup the MySQL credentials. - Now, the API is ready. You can easily read and write data to your server. More info and API usage available in wiki.
- For now, the software don't have a client for the vehicle, but you can use mendhak/gpslogger and set up sending to a custom URL. I'm working in the vehicle client.
Make sure you always use the latest version of the software, because outdated versions may cause security issues or bugs.
Check the Wiki
Check the Wiki or Leave your issue
This software may contain bugs, or non-optimized code. Please leave your issue for suggestions, problems or questions.