A professional truck dispatch and logistics management system built with Laravel 11, PHP, and MySQL.
- Modern Dark Theme Design - Professional, responsive UI with dark theme
- User Authentication - Secure login/signup with Laravel Auth
- Admin Dashboard - Complete admin panel for managing users, carriers, and messages
- Contact System - Contact form with database storage via Eloquent ORM
- Carrier Setup - Dedicated carrier application system
- Interactive 3D Elements - Three.js integration for 3D truck visualization
- Responsive Design - Mobile-first responsive design
- Database Integration - MySQL database with Laravel Migrations
- Security Features - CSRF protection, password hashing, input validation
- Framework: Laravel 11
- Language: PHP 8.2+
- Database: MySQL 8.0+
- Frontend: Blade Templates, HTML5, CSS3, JavaScript (Vanilla + Three.js)
- Styling: Custom CSS with modern features (Grid, Flexbox, Animations)
- Icons: Font Awesome 6
- Fonts: Inter (Google Fonts)
- PHP 8.2 or higher
- Composer
- MySQL 8.0 or higher
- Web server (Apache/Nginx) or Laravel Sail
- Modern web browser
git clone https://github.com/abdulhadics/mydispatch-laravel.git
cd mydispatch-laravelcomposer install
npm installCopy the example environment file and configure your database:
cp .env.example .envEdit .env file with your database credentials:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_truck
DB_USERNAME=root
DB_PASSWORD=Generate the application key and run database migrations:
php artisan key:generate
php artisan migrateStart the local development server:
php artisan serveAccess via: http://localhost:8000
- Admin:
admin@logistics.com/password - Driver:
driver@example.com/password - Customer:
customer@example.com/password
- Admin: Full access to admin panel, user management, system settings
- Driver: Access to driver dashboard, load management, tracking
- Customer: Access to customer portal, shipment tracking, payments
laravel_app/
├── app/
│ ├── Http/Controllers/ # Application logic
│ ├── Models/ # Eloquent data models
│ └── ...
├── database/
│ ├── migrations/ # Database schema definitions
│ └── seeders/ # Data seeders
├── public/
│ ├── assets/ # Static assets (CSS, JS, Images)
│ └── ...
├── resources/
│ ├── views/ # Blade templates
│ └── ...
├── routes/
│ ├── web.php # Web routes
│ └── ...
├── .env # Environment configuration
└── composer.json # Dependency definitions
- Dark Theme: Professional dark color scheme
- Gradient Backgrounds: Subtle gradients and effects
- Glass Morphism: Backdrop blur effects
- Smooth Animations: CSS transitions and hover effects
- 3D Graphics: Interactive Three.js truck model
- Mobile-first approach
- Flexible grid layouts
- Responsive navigation
- Touch-friendly interface
- Authentication: Laravel's built-in authentication system
- CSRF Protection: Automatic CSRF token verification
- Input Validation: Form request validation
- SQL Injection Prevention: Eloquent ORM parameter binding
- XSS Protection: Blade template escaping
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is created for educational purposes.
For questions or issues, please check the Laravel documentation or contact the repository owner.