What's in the box.
Modia PHP is a creative Modeling Agency web template built on PHP 8.1 with a clean MVC architecture, Bootstrap 4, and MySQL database integration. It ships with 13 server-rendered pages, a filterable model portfolio 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 modeling agency and talent management 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
- 13 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 13 Pages
- home-v1.php — v2 — Two distinct hero and talent showcase layouts
- about-us.php — Agency story and management philosophy
- shop.php — Agency products with Isotope filtering and ionRangeSlider pricing
- product-detail.php — Individual agency product page with gallery
- cart.php — Shopping cart with order summary
- checkout.php — Billing and purchase completion
- wishlist.php — Saved favourite agency products
- blog.php — Agency news and editorial content
- blog-detail.php — Full article view
- login.php — Customer account login
- sign-up.php — New customer registration
- contact-us.php — Contact form and map
Key Features
- 13 Fully Designed Pages across home, shop, blog, and account
- 2 Unique Home Layouts — distinct hero styles and talent showcase arrangements
- Bootstrap 4 — responsive, mobile-first grid system
- Agency Products Shop — agency merchandise and prints with Isotope filtering
- Product Detail Page — individual product page with gallery and specifications
- Cart, Checkout & Wishlist — complete agency product purchase flow
- ionRangeSlider — price range filtering for product browsing
- CounterUp Animated Statistics — models represented, bookings, and client counters
- Instagram Feed Integration — live social media content for community engagement
- Isotope Grid Filtering — filter products or model portfolio by category or division
- Slick Carousel — featured talent and editorial campaign sliders
- Magnific Popup Lightbox — full-screen editorial and product 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
- Modeling Agency Businesses: Server-rendered, database-backed modeling agency 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, model galleries, and blog from the database or admin panel
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
- CounterUp — MIT License
- Magnific — MIT License
- Lightbox — MIT License
- ionRange — 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 guideFashion eCommerce Website Template: The Complete Guide to Building an Online Fashion Store That Converts — see how Modia compares with the alternatives.
Modia 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.
-
ModiaHTML5
$11
$49View HTML5 → -
ModiaTailwind CSS
$18
$54View Tailwind CSS → -
ModiaReact
$23
$49View React → -
ModiaVue.js
$17
$49View Vue.js → -
ModiaAngular
$21
$49View Angular → -
ModiaWordPress
$74
$114View WordPress → -
This page ModiaPHP $20
$49You are viewing it -
ModiaAI Smart Website
$899
$989View AI Smart Website → -
Save 20%
Developer bundleAll 6 code formats
$132.80
$166View 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 Modia 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.