Santa Claus is a modern, high-converting Full-Stack PHP & MySQL Christmas Web Application and holiday community platform engineered for festive marketing campaigns, holiday events, family celebrations, charity drives, and Secret Santa gift exchanges.
Crafted with clean native PHP (no heavy framework dependencies) and supporting a dual-database architecture (MySQL 5.7+ / 8.0+ and zero-config SQLite 3), Santa combines enchanting holiday animations and responsive UI with a robust master Admin Workshop Control Center.
? Core Feature Modules
1. Dynamic Festive Countdown to Christmas Eve ⏳
- Live Mission Clock: Real-time second-by-second ticker counting down directly to December 24, 23:59:59.
- Server-Side Rendering (SSR): Instant initial render via PHP with zero numeral flicker or layout shift.
- Automated Year Rollover: Automatically updates target to next year's Christmas Eve once Christmas passes.
- Celebratory Mode: Switches to "? Sleigh In Flight! Merry Christmas across the globe!" during Christmas Eve and Christmas Day.
- North Pole Mission Milestones: Displays dynamic workshop updates (Toy Fabrication, Sleigh Packing, Reindeer Prep).
2. Santa's Wish Status Tracker (Elf Workflow) ?
- 4-Stage Production Lifecycle: Tracks each submitted wish through
Wish Sent⏳ →Elf Packing? →Ready on Sleigh? →Delivered?. - Interactive Stepper Modal: Beautiful progress bar with animated pulse rings and assigned toymaker elf details.
- Silent Real-Time Polling: Automatically updates live in the background every 12 seconds without requiring page refresh.
3. Automated "Letter to Santa" Email Confirmation ✉️
- Luxury HTML Email Template: Responsive 600px holiday email featuring festive red accents, official North Pole stamp, and dynamic placeholders.
- Automated Dispatch: Dispatches official confirmation with unique receipt ID (
#NP-0042) upon wish submission. - Localhost Safe Mode: Automatically logs receipts to
database/mail_log.htmlon local servers without active SMTP.
4. Wishlist Passcode / PIN Protection (Privacy Vault) ?
- Owner PIN Configuration: Wishlist creators can set a 4-to-12 character PIN passcode with an optional holiday hint.
- Secure Lock Vault Gate: Protects shared wishlists server-side (zero leaks in HTML source code). Friends unlock the wishlist with the PIN.
- API-Level Security: Direct API queries to locked wishlists return HTTP 403, preventing scraping via developer tools.
5. Secret Santa Group Generator / Matchmaker ?
- Mathematical Derangement Algorithm: Uses an $O(N)$ Hamiltonian Cycle to guarantee 0% self-matches ($Giver ne Receiver$) with zero duplicate assignments.
- Participant Roster: Add members with names, emails, spending budget limits ($), and event dates.
- Confidential Draw Cards: Generates unique secret token links for each participant with animated 3D gift-unwrapping reveal.
6. Holiday Gift Catalog with Stock Inventory Status ?
- Live Stock Status: Displays
In StockandSold Out ❄️badges on gifts with disabled cart guards. - 1-Click Instant AJAX Stock Toggle: Admin can toggle stock status in real-time from the backend table.
- Category Filter Tabs: Filter by All Gifts, Toys & Games, Sweet Delights, Ornaments, and Handmade.
7. Santa's Workshop Master Admin Control Center ?️
- Mission Clock Banner: Embedded countdown timer and real-time North Pole mission status.
- Elf Dispatch Queue: Quick-step workflow advancement buttons (Start Packing, Mark Ready, Deliver).
- Elf Recruit Approval Hub: Review volunteer applications, assign workshop departments (Toymaker, Wrapper, Sleigh Navigator), and record notes.
- Multi-Format Data Export: One-click downloads for Wishes, Gifts, and Elf Recruits in both clean UTF-8 CSV and styled Excel formats.
- Mobile Responsive Drawer: Modern slide-out navigation with quick touch-friendly dismiss button (
✕). - Interactive Email Previewer: Test and verify email receipts live in the browser.
8. 1-Click Web Installer Wizard (install.php) ?
- Automated installer checks PHP extensions, configures database credentials, creates tables, and seeds initial data in under 60 seconds.
⚙️ Technical Specifications
- Backend: Native PHP 7.4, 8.0, 8.1, 8.2, 8.3+ (Clean modular procedural code with PDO prepared statements).
- Databases Supported: MySQL 5.7+ / 8.0+, MariaDB 10.3+, and SQLite 3.
- Frontend: Semantic HTML5, CSS3 with responsive variables, 100% Vanilla ES6+ JavaScript (zero jQuery or framework bloat).
- Security: Strong password hashing via
password_hash()(bcrypt), CSRF protection, HTML input sanitization withe(), and role-based session authentication. - Automated Testing: 100% test coverage across 58 automated unit, integration, and E2E regression tests.
? System Requirements
- PHP Version: 7.4, 8.0, 8.1, 8.2, or 8.3+
- PHP Extensions:
pdo(pdo_mysql or pdo_sqlite),mbstring,json,curl - Web Server: Apache (mod_rewrite optional), Nginx, or PHP Built-in Server
- Database: MySQL 5.7+ / 8.0+ or SQLite 3
? 3-Step Quick Installation
- Extract and upload the contents of
Santa-Christmas-PHP-MySQL-Web-Application.zipto your web hosting public root. - Open your browser and navigate to: https://christmas-php.evostackr.in/
- Follow the 1-click web installer wizard to connect your database and initialize your application.
Default Master Admin Credentials:
- Admin URL: https://christmas-php.evostackr.in/
- Email:
admin@santaclaus.org - Password:
password123