A custom PHP MVC-style article platform using routing, Twig templates, SQL data, and JSONPlaceholder-inspired content.
This project demonstrates a framework-light PHP application with controllers, models, views, dependency wiring, SQL data, and external API-oriented structure.
The screenshots show the article listing and detail-style pages included with the repository.
- Article, user, and comment models.
- Controllers for showing, adding, editing, and deleting articles/users/comments.
- Twig-based views and FastRoute routing.
- Database schema/sample SQL included.
- JSONPlaceholder-style content/API practice.
- PHP
- Composer
- Guzzle
- FastRoute
- Twig
- PHP-DI
- Doctrine DBAL
- Dotenv
- SQL
composer install
cp .envExample .envServe the public_html entry point with your local PHP server or web server, and import homeNews.sql if database data is required.
public_html/index.php- front controllerapp/Controllers/- HTTP controllersapp/Models/- article, user, and comment modelsapp/Views/- Twig templateshomeNews.sql- database dump/schema data
MIT License. See LICENSE.

