What's in the box.
Imperuim PHP is one of our multipurpose ecommerce website templates built on PHP 8.1 with a clean MVC architecture, Bootstrap 4, and MySQL database integration. It ships with 27 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 multipurpose business, shop, and creative 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
- 27 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 4 — 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 27 Pages
- home-v1.php — v2 — Two distinct hero and content showcase layouts
- about-us.php — Brand story and mission
- shop-v1.php — v3 — Product grid with left and right sidebar layouts
- shop-detail.php — Individual product page with cart, checkout, and wishlist
- gallery-v1.php — v3 — Image showcases in three distinct gallery formats
- events.php — Upcoming events archive
- event-detail.php — Individual event page with schedule and details
- portfolio.php — Project and case-study showcase
- portfolio-detail.php — Individual project case study
- team.php — Team member profiles and detail pages
- blog.php — Blog grid, blog detail, and sidebar blog layouts
- blog-detail.php — Full article view
- coming-soon.php, faq.php, login.php, 404.php — Utility pages
- contact-us.php — Contact form, address, and map
Multipurpose Ecommerce Website Templates: Key Features
- 27 Fully Designed HTML5 Pages across home, shop, gallery, events, portfolio, team, and blog
- 2 Unique Home Layouts — distinct hero styles and content showcase arrangements
- Bootstrap 4 — responsive, mobile-first grid system
- E-Commerce Module — product grid, sidebars, detail, cart, checkout, and wishlist
- Gallery Module — image showcases in three distinct gallery formats
- Events Module — upcoming events archive and event detail pages
- Portfolio Module — project and case-study showcases
- Team Profiles — team member listing and detail pages
- Isotope Grid Filtering — filter portfolio, gallery, or shop items by category
- Masonry Grid — dynamic masonry layout for gallery and blog content
- Slick Carousel — featured content and highlight sliders
- Magnific Popup Lightbox — full-screen gallery and media image popup
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
- Multipurpose Businesses: Server-rendered, database-backed multipurpose 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
Need Imperuim in another stack? Imperuim is also available in HTML5, React, Vue.js, Angular, WordPress and AI Smart Website, or get every format in the Imperuim developer bundle at 20% off. Browse more Multipurpose website templates.
Credits and Dependencies
- PHP 8.1 — PHP License
- Bootstrap 4 — MIT License
- Composer — MIT License
- vlucas/phpdotenv — BSD-3 License
- PHPMailer — LGPL 2.1 License
- Slick — MIT License
- Isotope — MIT License
- Magnific — MIT License
- Lightbox — 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.
Buyer’s guideExvox — Creative Multipurpose HTML Template | Bootstrap 5 (63+ Pages, 13 Banner Variations) — see how Imperuim compares with the alternatives.
Imperuim in other formats
The same design, built natively in each stack. Every format is its own product with its own demo, documentation, download and reviews.
-
ImperuimHTML5
$11
$49View HTML5 → -
ImperuimReact
$27
$49View React → -
ImperuimVue.js
$16
$49View Vue.js → -
ImperuimAngular
$23
$49View Angular → -
ImperuimWordPress
$53
$93View WordPress → -
This page ImperuimPHP $20
$49You are viewing it -
ImperuimAI Smart Website
$2,499
$2,749View AI Smart Website → -
Save 20%
Developer bundleAll 6 code formats
$120
$150View bundle →
What's changed.
- 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
Need Imperuim installed or customized?
Fixed prices, done by the developers who built this template. Pick a service and we take it from there.
- Theme installation
- Color scheme customization
- Speed optimization
- 1-hour web development








Reviews
There are no reviews yet.