Skip to content

ilkerkeskin/traccar-api-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

traccar-api-php (Traccar API usage with PHP)

Use traccar api with php, using this easy to understand implementation in php. All features provided by Traccar in version 4.3 and later will be supported.

Traccar Server & API Version : 4.3 Supported (Currently checked to be working with)

Note: For all support and queries regarding this code, raise requests here on GitHub itself. or on www.gpsguru.in

About author of This repositiory and code

About Traccar

Features Implemented

Server

  • server (server configurations)

Session

  • loginAdmin (login as admin)
  • login (login as any user)
  • logout (logout / destroy a user session)
  • session (check a users session or users account details)

User

  • users (list all user accounts under the currently logged in user)
  • userAdd (add / register a user account)
  • userUpdate (update a user account)
  • userDelete (delete a user account)

Device

  • devices (list all devices under the currently logged in user)
  • deviceAdd (add a device)
  • deviceUpdate (update a device)
  • deviceDelete (delete a device)

Geofence

  • geofences (list all geofences under the currently logged in user)
  • gefeonceAdd (create a geofence)
  • geofenceUpdate (update a geofence)
  • geofenceDelete (delete a geofence)

Notification

  • notificationsTypes (list all notifications types available)
  • notifications (list all users enabled notifications)
  • notificationAdd (create notification for user)
  • notificationUpdate (update notification)
  • notificationDelete (delete notification)

Permission

  • assignUserDevice (assing a device to a user account)
  • removeUserDevice (remove a device from a user account)
  • assignDeviceGeofence (assign a geofence to a device)
  • removeDeviceGeofence (remove a geofence assignment from device)
  • assignDeviceNotification (assign a notification to device)
  • removeDeviceNotification (remove a notification from device)

Position

  • positions (display recent positions of all devices under the logged in user)
  • position (display a single position based in positionId)

Report

  • reportSummary (summary report)
  • reportTrips (trips report)
  • reportStops (stops report)
  • reportRoute (route report)
  • reportEvents (events report)
  • reportChart (same as route report, but can be modified for specifics in future)
  • reportEventsType (specific event type report)

Command

  • commandsTypes (list of all available commands for the device)
  • commandSend (send command to a device)

To do list for future - user-interface

  • Map based tracking UI
  • Geo-Fence UI
  • Edit Device UI
  • Playback UI
  • Reports UI
  • Admin User Management UI
  • Admin Device Management UI
  • Admin Device <-> User Allocation UI

All codes/examples are being provided here for free by www.gpsguru.in

  • We have a fully functional list of all API functions for Traccar, of which we have shared few of the basic functionailities required to get started with PHP based implementation of Traccar API. For customizations please Raise a Request here on Github under Issues.

  • Contributions to the code are most welcome and will be given due credit.

About

Traccar API - PHP API Implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%