Hot-L is a hotel management system built for teams that need a cleaner back office for daily operations, bookings, guests, rooms, finance, and administration.
It is powered by Laravel and now includes permission-aware navigation, database-backed roles, and a more polished admin experience.
- Manage rooms, guests, bookings, employees, banks, invoices, payments, and ledgers from one admin panel
- Use real role-based access control with roles, permissions, and protected web/API access
- Show a compact permission-aware sidebar based on what each user can actually access
- Create and edit custom roles from the
Roles & Permissionspage - Run a branded Hot-L experience across login, dashboard, and admin surfaces
Hot-L ships with these default system roles:
SuperAdminAdminManagerCashierStaff
Permissions are stored in the database and can be updated from the Roles & Permissions page.
PHP 8+Laravel 9MySQLLaravel SanctumLaravel MixBootstrap,Sass,jQueryAG Grid
Make sure you have these installed:
PHP 8.0+ComposerNode.jsandnpmMySQL
git clone <your-repo-url>
cd hotelio
composer install
npm install
cp .env.example .env
php artisan key:generateUpdate your database settings in .env.
Important defaults in .env.example:
APP_NAME=Hot-L
APP_URL=http://localhost
ADMIN_EMAIL=admin@hot-l.test
ADMIN_PASSWORD=passwordphp artisan migrate --seedThis creates the RBAC tables, seeds the default permissions and roles, and creates the default admin user.
For development:
npm run devFor production assets:
npm run prodphp artisan serveThen open:
http://127.0.0.1:8000
After seeding, you can sign in with:
- Email:
admin@hot-l.test - Password:
password
You can override these with ADMIN_EMAIL and ADMIN_PASSWORD in .env before running the seeder.
Hot-L now uses database-backed RBAC:
users.role_idis the source of truth- legacy
users.Roleis kept in sync for compatibility - web routes are permission-guarded
api/v1/*routes are protected withauth:sanctumand permission checks
Permissions follow a simple action model per module:
viewcreateeditdelete
php artisan testnpm run prodphp artisan migrate --seed
php artisan serve
npm run devMain product areas include:
- Dashboard
- Operations
- Finance
- Administration
Contributions are welcome. If you want to improve Hot-L, please open an issue or submit a pull request.
If you discover a security issue, please email mail4mjaman@gmail.com.
Hot-L is open-source software licensed under the MIT license.
