TransportFlow is a simplified logistics order management system built with Laravel.
The goal of this project is to demonstrate backend design, workflow modeling, and event tracking rather than UI complexity.
- Create, update, delete drivers
- Track driver availability
- Assign drivers to orders
- Create transport orders
- Assign drivers
- Track full lifecycle of an order
Orders follow a structured lifecycle:
new → assigned → on_the_way → picked_up → delivered → completed
-
Every important action is stored as an event
-
Full history per order
-
Example:
- Order created
- Driver assigned
- Status updated
- Orders with past
scheduled_atand not completed are flagged - Displayed in dashboard and order views
- Helps identify operational risks
- Total Orders
- Active Orders
- Completed Orders
- Delayed Orders
- Available Drivers
- Quick navigation to filtered lists
This project intentionally goes beyond basic CRUD.
Focus areas:
- Workflow modeling
- State transitions
- Event-based tracking
- Operational visibility
“The goal was to simulate a real-world logistics flow in a simple but structured way.”
- Workflow-based order lifecycle
- State transitions
- Event-driven order history
- Delayed order risk detection
- Operational dashboard visibility
- Separation of business logic from UI complexity
- Backend: Laravel (PHP)
- Database: MySQL
- Frontend: Blade (Tailwind CSS)
- Environment: WAMP / PHP 8+
git clone <repo-url>
cd transportflow
composer install
npm install
npm run dev
cp .env.example .env
php artisan key:generate
Update database credentials in .env
php artisan migrate
php artisan serve
Email: demo@transportflow.test
Password: password
- Create a driver
- Create an order
- Assign a driver
- Update status step by step
- Observe timeline updates
- Check dashboard for delayed orders
- Added workflow transition validation
- Implemented controlled order state transitions
- Improved event timeline UI
- Added delayed order detection logic
- Added query scopes for active, completed and delayed orders
- Improved operational visibility for transport workflows
The project includes:
- Unit tests for workflow validation
- Feature tests for authenticated order management
- Database assertions for order creation and event tracking
Run tests with:
php artisan test --filter=OrderWorkflowServiceTest
php artisan test --filter=OrderFeatureTest
- Queue-based background processing
- REST API endpoints
- Docker support
- Role and permission management
- Webhook integration for external logistics systems
- Automated tests for order workflow transitions
- This project focuses on backend workflow architecture and operational process modeling.
- Focus is on backend logic and system design
- UI is intentionally kept simple
Fikret Aysel Backend Developer (PHP / Laravel)


