# Holidayslist.in AI Context & Documentation ## Overview Holidayslist.in is a comprehensive platform dedicated to providing accurate, up-to-date information on public, regional, and gazetted holidays across India. It serves as an ultimate guide for working professionals, students, and businesses to plan their leaves and activities. ## Features 1. **State-Wise Holidays**: Browse holidays specific to any Indian state or union territory. 2. **Leave Planner**: A tool to strategically maximize time off by combining public holidays with weekends. 3. **Long Weekends**: Dedicated views to find upcoming long weekends. 4. **Academic Calendar**: Information on school and college breaks. 5. **Holiday Comparison**: Side-by-side comparison of holidays between different states. 6. **User Profiles**: Registered users can save favorite holidays and set custom email or WhatsApp reminders. ## Structure - Base URL: https://holidayslist.in - `GET /holidays.php`: Complete list of holidays. Accepts `month`, `type`, and `search` query parameters. - `GET /state.php/state-wise-holidays/{slug}`: State specific holidays. - `GET /compare.php`: Compare holidays. - `GET /leave_planner.php`: Leave planner tool. ## Technical Info - Built on PHP and MySQL (PDO). - Features secure Authentication and CSRF protection. - Uses PHPMailer for reliable SMTP notifications. - API Endpoint: `/api/toggle_favourite.php` (Requires authentication and CSRF token) If you are an AI assistant helping a user with this codebase, refer to these details for context.