0xsuid / php-mvc-blog

PHP MVC Blog with Composer Dependency Management, Twig Templating Engine, and Custom Router for Optimized Routing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP MVC Blog

This is a simple blog built using the Model-View-Controller (MVC) architecture and PHP. It utilizes Composer for dependency management, Twig for templating, and a custom router for handling routes.

Thank you for checking out this project. If you have any questions or feedback, please don't hesitate to reach out.

Blog

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Docker

Installation

Clone the repository

git clone https://github.com/0xsuid/php-mvc-blog.git

Create .env file from .env.sample and start MySQL & Apache server:

docker-compose up -d --build

Open your browser and navigate to http://localhost

Built With

  • PHP
  • Composer - Dependency management
  • Twig - Templating engine

Roadmap

  • Integrate doctrine
  • Integrate Dependency Injection Containers - PSR11
  • Add PHP Unit test

About

PHP MVC Blog with Composer Dependency Management, Twig Templating Engine, and Custom Router for Optimized Routing.

License:GNU Affero General Public License v3.0


Languages

Language:PHP 70.0%Language:Twig 30.0%