Skip to content

A lightweight starter template for PHP projects using MVC architecture. It includes routing, views, controllers, PDO-based models, autoloading, and configuration system.

License

Notifications You must be signed in to change notification settings

poddfonarem/php-mvc-starter

Repository files navigation

PHP MVC Starter

Description

A lightweight starter template for PHP projects using MVC architecture. It includes routing, views, controllers, PDO-based models, autoloading, and configuration system.

Installation

git clone https://github.com/poddfonarem/php-mvc-starter.git my-project
cd my-project
composer install
cp .env.example .env

Running

php -S localhost:8000 -t public

Database Setup

You must set up your database separately before running the application.

  1. Install and start MYSQL.
  2. Create a database (e.g., phpmvc).
  3. Update your .env file with the correct DB credentials:

Documentation

About

A lightweight starter template for PHP projects using MVC architecture. It includes routing, views, controllers, PDO-based models, autoloading, and configuration system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published