Fleetbase is a modular, open-source logistics and supply chain operating system (LSOS) designed for e-commerce, courier services, field services, and enterprise logistics teams. It solves the fragmentation problem in supply chain tech by unifying order management, real-time fleet tracking, route optimization, warehouse workflows, and financial accounting into one cohesive platform. Built with PHP and Docker, it provides a RESTful API, WebSocket integration, and a CLI for deployment and extension management, enabling organizations to self-host or deploy to the cloud while maintaining full control over their data and workflows.
The platform supports modular extensions via a registry system, integrates with OSRM for route optimization, and includes native mobile apps for drivers and customers. It’s built for developers and operators alike, offering customizable order workflows, dynamic dashboards, and secure IAM with end-to-end encryption. Deployment is streamlined via Docker Compose and the Fleetbase CLI, with support for self-hosted infrastructure or managed cloud instances.
What You Get
- Order Board - A dynamic Kanban board to visualize and manage orders with drag-and-drop status updates and custom workflows.
- Order Configuration - Create custom order types with conditional logic, custom fields, activity flows, and automation triggers without coding.
- Live Fleet Map - Real-time GPS tracking of vehicles on an interactive map with live updates and geofenced service zones.
- Extensible Extensions - Install, build, and publish modular extensions via the Fleetbase CLI and registry system (e.g., accounting, warehouse modules).
- RESTful API & Webhooks - Full API access for integrating with external systems, custom apps, or third-party logistics platforms.
- Driver & Customer Apps - Open-source native mobile applications for drivers (proof of delivery, route navigation) and customers (order tracking).
- Telematics Integration - Connect hardware devices and sensors to capture fuel usage, maintenance alerts, and vehicle diagnostics.
- Dynamic Dashboards - Build custom operational dashboards with widgets for order volume, driver performance, and financial metrics.
- Multi-language Support - Internationalized UI with localization for global teams and multilingual user bases.
- Self-Hosted Deployment - Deploy on-premise or in any cloud using Docker Compose with full control over data and infrastructure.
Common Use Cases
- Running a last-mile delivery startup - A courier service uses Fleetbase to dispatch drivers, track orders in real time, and automate route optimization using OSRM, reducing delivery times by 30%.
- Managing a multi-vendor e-commerce marketplace - An e-commerce platform integrates Fleetbase to auto-dispatch orders from multiple vendors to local drivers upon checkout via Stripe or PayPal.
- Operating a warehouse with field technicians - A logistics firm uses Fleetbase to track inventory locations, assign service jobs to technicians, and sync billing via Ledger module.
- Building a custom logistics platform for enterprise clients - A SaaS developer uses Fleetbase’s API and extension system to white-label and deploy a tailored supply chain solution for a retail chain.
Under The Hood
Architecture
- The architecture exhibits a layered design, separating the backend API from frontend interfaces and supporting services.
- A microservices-inspired approach is evident through the orchestration of components using Docker Compose.
- Asynchronous task processing is implemented via dedicated scheduler and queue services, likely utilizing a message queue pattern.
- Configuration is primarily managed through environment variables, suggesting a configuration-based dependency management strategy.
Tech Stack
- A polyglot stack is employed, combining PHP (Laravel) and Go for backend logic.
- The frontend utilizes a mix of Vue.js and Ember.js, potentially indicating a migration or coexistence strategy.
- Docker and Docker Compose are central to the infrastructure, alongside services like Redis and MySQL.
- Real-time communication is facilitated by SocketCluster.
Code Quality
- The codebase demonstrates a degree of separation of concerns through distinct components.
- Testing is present but leans towards basic existence checks, indicating a need for more comprehensive unit and integration tests.
- Error handling is implemented with
try...catch blocks, but lacks centralized logging or custom error classes.
- Naming conventions are generally consistent, but type safety is not explicitly enforced.
What Makes It Unique
- The combination of a robust Laravel backend with two distinct frontend frameworks (Vue and Ember.js) provides flexibility in UI development.
- A dedicated console application built with Ember.js offers a comprehensive operational interface.
- The integration of real-time functionality through Laravel Echo and Pusher enhances the application’s responsiveness.