Kreug — Cooking PHP Website Template
Hosting Included

Add Hosting and Go Live

Pick a plan and we deploy your template on it within 48 hours.

Starter
$9.99/mo
  • 1 Website
  • 10 GB Storage
  • Free SSL
  • 1 Database
Deluxe
$27.99/mo
  • 10 Websites
  • 50 GB Storage
  • Free SSL (all sites)
  • 25 Databases
Ultimate
$35.99/mo
  • 25 Websites
  • 75 GB Storage
  • Free SSL (all sites)
  • 50 Databases
Launch
$62.99/mo
  • 100 GB Storage
  • 4 GB RAM
  • 2 CPUs
  • Free SSL
Grow
$155.99/mo
  • 300 GB Storage
  • 16 GB RAM
  • 8 CPUs
  • Free SSL
Expand
$217.99/mo
  • 400 GB Storage
  • 32 GB RAM
  • 16 CPUs
  • Free SSL

Free SSL | 99.9% uptime | 24/7 support | No domain included

PHP Food & Restaurant

Kreug — Cooking PHP Website Template

License Type

SKU: MH-KREUG-PHP

PHP Version 8.x
Server Apache / Nginx
Responsive Yes - Mobile First
Documentation Included
SKU MH-KREUG-PHP
Delivery Digital Product

Kreug PHP is a feature-rich Multi-Category E-Commerce Marketplace HTML5 web template built on PHP 8.1 with a clean MVC architecture, Bootstrap 4, and MySQL database integration. It ships with 41 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 multi-category e-commerce marketplace 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

  • 41 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 41 Pages

  • home.php — Marketplace hero with featured categories and promotions
  • shop-listing.php — All products with Select2 and Isotope filtering
  • product-details.php — Individual product with jQuery Zoom and specifications
  • cart.php — Shopping cart with order summary
  • checkout.php — Multi-step purchase completion with jQuery Steps
  • wishlist.php — Saved favourite marketplace products
  • coming-soon.php — Pre-launch countdown page
  • blog.php — E-commerce news and product guides
  • blog-detail.php — Full article view
  • contact-us.php — Contact form and map

Key Features

  • 41 Fully Designed HTML5 Pages across home, shop, account, blog, and support
  • Bootstrap 4 — responsive, mobile-first grid system
  • Multi-Category Shop Listing — comprehensive product archive with advanced filtering
  • Product Detail Page — individual product with jQuery Zoom magnification
  • Select2 — enhanced keyword and category search and filter dropdowns
  • jQuery Zoom — product image hover magnification for close-up detail
  • jQuery Steps Multi-Step Checkout — streamlined step-by-step purchase completion
  • Countdown Timer — flash sales and limited-time promotional urgency
  • CounterUp Animated Statistics — products, orders, and platform counters
  • Isotope Grid Filtering — filter products by category, type, or brand
  • Cart, Checkout & Wishlist — complete marketplace purchase flow
  • Slick Carousel — featured product and promotion sliders

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

  • Multi-Category E-Commerce Marketplace HTML5 Businesses: Server-rendered, database-backed multi-category e-commerce marketplace 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 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
  • Countdown — MIT License
  • Magnific — MIT License
  • Lightbox — MIT License
  • jQuery Zoom — MIT License
  • Select2 — 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.
v1.0  Initial PHP Release
- PHP 8.1 MVC architecture with Composer PSR-4 autoloading
- MySQL database with full SQL schema dump included
- PDO prepared statements on all queries — 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
Tags
backend template Bootstrap 5 catering Food Food Delivery full stack template menu mvc mysql php 8 php template responsive template Restaurant server side web template

Reviews

There are no reviews yet.

Be the first to review “Kreug — Cooking PHP Website Template”

Your email address will not be published. Required fields are marked *