About This Item
Blessly PHP is a feature-rich Church & Religious Community HTML5 web template built on PHP 8.1 with a clean MVC architecture, Bootstrap 5, and MySQL database integration. It ships with 23 server-rendered pages, a filterable photo gallery, a full e-commerce module with cart and checkout, a blog module, all powered by PHP with PDO database abstraction and Composer autoloading — fully ready for shared hosting deployment.
Built for PHP developers delivering church & religious community html5 websites where server-side rendering, dynamic content management, and database-backed functionality are required. The MVC structure separates routing, controllers, models, and view templates cleanly. PDO prepared statements protect every database query against SQL injection, and all user input is sanitised before output. No Node.js, no build step — deploy directly to any cPanel or Plesk host.
Everything in the Package
- 23 server-rendered PHP pages with MVC routing
- PHP 8.1 — named arguments, match expressions, and readonly properties
- MySQL database integration via PDO with prepared statements throughout
- Composer autoloading — PSR-4 class autoloading, no manual require chains
- Bootstrap 5 — responsive grid, mobile-first layout
- Contact form with server-side validation, CSRF token protection, and PHPMailer SMTP integration
- Environment configuration via .env — DB credentials, SMTP settings, and app URL
- Full SQL schema dump included — import and run immediately
- Swiper carousels and WOW.js scroll animations on all pages
- Retina-ready, fully responsive from 320px to 1920px+
- Well documented — setup guide covering database import, .env configuration, and SMTP setup
MVC Architecture and File Structure
- Router: app/Router.php — maps URL paths to controller methods via regex route matching
- Controllers handle request logic and pass typed data arrays to view templates
- Models wrap PDO queries with typed return objects — swap MySQL for PostgreSQL by changing the DSN
- Views: templates/ directory with reusable partials — header.php, footer.php, navbar.php
- All user input sanitised with htmlspecialchars() before output and PDO bindings before DB queries
- CSRF tokens generated with bin2hex(random_bytes(32)) on form render, validated on POST
- Folder structure: app/Controllers/, app/Models/, app/Router.php, templates/, public/, config/, database/
All 23 Pages
- home-v1.php — Hero with sermons preview, events, stats, testimonials, donation CTA
- home-v2.php — Alternate hero with ministry highlights
- about-us.php — Church story, mission, and values
- history.php — Church milestones and community timeline
- ministries.php — All ministry programmes overview
- ministries-2.php — Alternate ministries layout
- ministry-details.php — Individual ministry programme page
- sermons.php — Sermon archive with media
- sermon-details.php — Individual sermon page with audio or video
- events.php — Upcoming and past event listings
- event-details.php — Individual event page with details and registration
- donations.php — Donation campaign archive
- donation-details.php — Individual campaign with giving options
- team.php — Pastors, staff, and volunteer profiles
- shop.php — Charity merchandise and resource shop
Key Features
- 23 Fully Designed HTML5 Pages across home, sermons, events, ministries, donations, shop, and contact
- 2 Unique Home Layouts — distinct hero styles and featured content arrangements
- Bootstrap 5 — responsive, mobile-first grid system
- Sermon Module — sermon archive + individual sermon detail page with media
- Donations Module — donation listings + individual donation campaign detail page
- Events Module — events archive + individual event detail page
- Ministries Module — two ministry overview layouts + individual ministry detail page
- Charity Shop — shop archive, product single, cart, checkout, and wishlist
- Multi-Step Checkout — jQuery Steps powered streamlined giving and purchase flow
- History Page — church milestones and community timeline
- Team Page — pastor, staff, and volunteer profiles
- FAQ Page — common visitor and member questions
Security
- PDO prepared statements on every database query — SQL injection not possible through the model layer
- CSRF tokens on all POST forms — validated server-side before processing
- htmlspecialchars() applied to all user-supplied output — XSS prevention throughout
- DB credentials, SMTP passwords, and secrets stored in .env — never committed to version control
- File upload validation — MIME type check, extension whitelist, and size limit enforced server-side
Use Cases
- Church & Religious Community HTML5 Businesses: Server-rendered, database-backed church & religious community html5 site with no build step required
- PHP Developers: MVC architecture, PDO models, and Composer autoloading — extend without tech debt
- Shared Hosting Deployments: Pure PHP 8.1 — runs on any cPanel or Plesk host without Node.js or Docker
- Agencies: Dynamic content management via MySQL — update pages, galleries, and blog from the database or admin panel
Credits and Dependencies
- PHP 8.1 — PHP License
- Bootstrap 5 — MIT License
- Composer — MIT License
- vlucas/phpdotenv — BSD-3 License
- PHPMailer — LGPL 2.1 License
- Slick — MIT License
- Isotope — MIT License
- WOW — MIT License
- CounterUp — MIT License
- Magnific — MIT License
- Lightbox — MIT License
- jQuery Zoom — MIT License
- Font Awesome 6 — Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT
- Google Fonts — SIL Open Font License
- Demo images: Unsplash — Unsplash License (free for commercial use, no attribution required)
- Demo images: Freepik — Freepik License (free for commercial use with attribution)
- All demo images are for preview purposes only and are NOT included in the download.
Changelog
v1.0 2026-03-22
- PHP 8.1 MVC architecture with Composer PSR-4 autoloading
- MySQL database with full SQL schema dump included
- PDO prepared statements on all queries u2014 SQL injection protected
- CSRF token protection on all POST forms
- Dynamic content management via MySQL database
- PHPMailer SMTP contact form integration
- .env configuration for DB credentials, SMTP, and app URL