Skip to content

algisbernatovics/article-feed-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Article Feed App

A custom PHP MVC-style article platform using routing, Twig templates, SQL data, and JSONPlaceholder-inspired content.

Overview

This project demonstrates a framework-light PHP application with controllers, models, views, dependency wiring, SQL data, and external API-oriented structure.

Preview

Article Feed preview Article Feed detail preview

The screenshots show the article listing and detail-style pages included with the repository.

Features

  • 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.

Tech Stack

  • PHP
  • Composer
  • Guzzle
  • FastRoute
  • Twig
  • PHP-DI
  • Doctrine DBAL
  • Dotenv
  • SQL

Run

composer install
cp .envExample .env

Serve the public_html entry point with your local PHP server or web server, and import homeNews.sql if database data is required.

Project Structure

  • public_html/index.php - front controller
  • app/Controllers/ - HTTP controllers
  • app/Models/ - article, user, and comment models
  • app/Views/ - Twig templates
  • homeNews.sql - database dump/schema data

License

MIT License. See LICENSE.

About

Custom PHP MVC article platform with users, comments, Twig views, SQL data, and routing.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors