Laravel Hotel is an open-source web application built with laravel 8.0, enchanced with laravel reverb features to have realtime notification experience.
Its now compatible with laravel 12
- PHP 8.2+
- Composer
- Node.js & NPM
- MySQL/MariaDB
Create a new database:
mysql -u root -pCREATE DATABASE hotel_app;
EXIT;- Clone & Configure
git clone https://github.com/WailanTirajoh/Laravel-Hotel.git
cd Laravel-Hotel
cp .env.example .env- Install Dependencies
composer install
npm install- Generate Assets
npm run build # For production
# OR
npm run dev # For development- Setup Application
php artisan key:generate
php artisan migrate:fresh --seed- Start Services
# Terminal 1: Application Server
php artisan serve
# Terminal 2: Reverb Server (for real-time notifications)
php artisan reverb:startAccess the admin dashboard with seeded demo accounts:
- Email: demo@example.com
- Password: demo_pass
Note: Use the database seeders to create demo accounts, or check your
.envfile for configured test credentials.
- Real-time guest statistics with animated counters
- Monthly charts with Chart.js integration
- Today's guest overview with table design
- Quick action buttons for common tasks
- Welcome message with current date/time
- Complete reservation workflow with step-by-step process
- Payment tracking with status badges
- Down payment system (15% minimum)
- Real-time email and push notifications
- invoice generation
- CRUD operations with forms
- Advanced search and pagination
- Customer profile pages with activity history
- Avatar integration with fallback images
- Relationship tracking with transactions
- Multi-level room management (Rooms, Types, Status, Facilities)
- image galleries
- Availability checking system
- Capacity-based room recommendations
- Status tracking with color-coded indicators
- Role-based access control (Super, Admin, Customer)
- User activity logging with Spatie ActivityLog
- user profiles
- Permission management
- Reverb notifications for new reservations
- Live dashboard updates
- Push notifications for staff
- Real-time payment status updates
- Sleek sidebar with gradient background
- Tooltip-enabled navigation icons
- Dropdown menus with smooth animations
- user profile dropdown
- Floating labels with smooth transitions
- validation styling
- Select2 integration for dropdowns
- Date pickers with modern styling
- tables with hover effects
- Chart.js integration for analytics
- Progress bars and status indicators
- badge system
- Primary:
#2563eb(Blue) - Success:
#10b981(Success Green) - Warning:
#f59e0b(Warning Amber) - Danger:
#ef4444(Error Red) - Light:
#f8fafc(Background Light) - Dark:
#1e293b(Text Dark)
- Primary Font: Inter (400, 500, 600, 700)
- Fallback: Nunito, sans-serif
- Size Scale: 0.875rem base with 1.6 line height
- Cards: 12px border radius with subtle shadows
- Buttons: gradients with hover effects
- Forms: Floating labels with focus states
- Tables: Hover effects with styling
- Customer Registration: Admin creates/selects customer profile
- Room Selection: System recommends available rooms based on:
- Date range availability
- Guest capacity requirements
- Room type preferences
- Confirmation: Review booking details and pricing
- Payment: Minimum 15% down payment required
- Check-in/Check-out: Status tracking throughout stay
- Down payment calculation (15% minimum)
- Balance tracking and payment completion
- invoice generation
- Payment history with status indicators
- Real-time Reverb notifications
- Email notifications for important events
- Push notifications for mobile devices
- Activity logging for audit trails
- Users → Customers (1:1)
- Customers → Transactions (1:N)
- Rooms → Transactions (1:N)
- Transactions → Payments (1:N)
- Rooms → Types (N:1)
- Rooms → Status (N:1)
- Laravel 12: Latest PHP framework
- PHP 8.2+: Modern PHP features
- MySQL: Reliable database system
- Laravel Reverb: WebSocket server
- Spatie Packages: Activity logging and more
- Bootstrap 5: Modern CSS framework
- Font Awesome 6: icon set
- Chart.js 4: Data visualization
- Select2: Enhanced select dropdowns
- DataTables: table management
- SweetAlert2: Beautiful alerts and modals
- Vite: Modern build tool
- Sass: Advanced CSS preprocessing
- Laravel Pint: Code formatting
- PHPUnit: Testing framework
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open-sourced software licensed under the MIT license.
Wailan Tirajoh
- GitHub: @WailanTirajoh
- Instagram: @tirajoh
- Facebook: tirajohw
- Hotel and hospitality management
- Learning Laravel development
- dashboard implementations
- Real-time web application examples
- Modern UI/UX design patterns
Built with ❤️ using Laravel 12 and modern web technologies.


