finds.dev

tramyardg/hotel-mgmt-system

Hotel booking system for customers added with an admin feature to manage reservations.

View on GitHub

★ 312PHPApache-2.0updated Dec 2024

// the take

A PHP/MySQL hotel booking system built as a student learning project. Customers can browse rooms, make reservations, and view bookings; admins manage reservations through a separate view. The author explicitly says it's not for production and they won't be maintaining it.

Has a real DAO/handler layered architecture for a student project — not just one giant PHP file. Includes PHPUnit tests for the handler and DAO layers, which most tutorial-grade projects skip entirely. ESLint and PHPCS configs with a custom ruleset show some attention to code consistency. The Facebook OAuth callback (fb-callback.php) is a nice extra that shows the project went slightly beyond a basic CRUD exercise.

The README itself warns about security vulnerabilities, and they're real — promoting a user to admin requires manually flipping a database column, which screams no proper role/permission system. Admin auth is almost certainly bolted on at the application layer with no server-side enforcement. The custom phpPasswordHashing lib bundled in /lib/ should have been replaced by PHP's native password_hash() years ago. Last meaningful activity was late 2024 but the screenshots are from 2019, suggesting it's been minimally touched for years.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
312
Forks
137
Language
PHP
License
Apache-2.0
Last commit
21 Dec 2024

// nearby

If hotel-mgmt-system isn't quite it.

All repos →