A modern, full-featured web application for booking box cricket grounds. Built with PHP and MySQL, it offers seamless booking, role-based access, QR check-ins, and a clean, responsive UI.
https://boxpro.infinityfreeapp.com/
| Home Page | Booking Page | Admin Dashboard | Mobile View |
|---|---|---|---|
Box Cricket Booking is a robust, secure, and user-friendly platform to manage ground bookings, users, and schedules. It supports multiple roles (User, Admin, Superadmin), real-time slot availability, QR-based check-ins, and email notifications. Designed for clubs, sports venues, and event organizers.
- User registration, login, and password hashing
- Browse grounds, view details, and book slots
- Real-time slot availability and conflict prevention
- Admin panel for managing grounds, slots, and bookings
- Superadmin panel for user/role management
- Booking confirmation emails with QR code for check-in
- Mobile-friendly, responsive design
- CSRF protection and secure session management
- Clone the repo and place it in your web root (e.g.,
htdocs/box_cricket). - Create a MySQL database and import
schema.sql. - Update
config.phpwith your DB credentials andBASE_URL. - Access the app at
/box_cricket/index.php.
Default Superadmin:
- Email:
[email protected] - Password:
Super@123
- PHP 7.4+
- MySQL 5.7+/MariaDB 10.4+
- PHPMailer (for email)
- HTML5, CSS3, JavaScript
https://boxpro.infinityfreeapp.com/
box-cricket booking php mysql qr-code admin-panel sports ground-management webapp
- See Releases for versioned builds.
- Packages and deployments are managed manually or via your preferred CI/CD.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
MIT
php install_phpmailer.phpOption 3: Download manually
- Download PHPMailer files to
lib/directory - Create
lib/autoload.phpfor autoloading
The system uses PHPMailer with SMTP. Update lib/Mailer.php with your SMTP settings:
- Host: Your SMTP server (e.g., smtp.gmail.com)
- Port: SMTP port (587 for TLS, 465 for SSL)
- Authentication: Username/password if required
Notes:
- Database changes:
bookings.qr_token(unique) andbookings.checked_in_atwere added. Run migrations if you already have a DB. - QR codes are generated via Google Chart API for simplicity.