Projet 5 Blog made with PHP, Twig and a bootstrap theme
This project requires PHP 8.0, twig 3.5 and bootsrap 5.2 and an apache server 2.4. The DB is handled with PHPmyadmin 5.1.
This blog :
- Contains articles listed in a page and a link to each article with its comments displaying the author, title and last update date if exists.
- Each article have its own page, which display all the article content, its comments and a form to add comments for logged in users.
- Can create member accounts.
- Implements an admin interface with restricted access.
- Possibility to create/update articles when connected.
- Possibility to manually validate by admin each new comment and article sent.
- Admin can suspend and activate members.
- Have a form contact in homepage.
- Git clone the repository from this page. See GitHub Documentation
- Create new Database in your favorite MySQL DMBS
- Import problog.sql file in this new Database
- Open app/Model/DatabaseConnection.php file, then replace Databse fields with your own information
- Install Composer if you don't have it yet. See Composer Documentation
- Move on your project directory using cd command :
cd your/directory
- Run :
composer install
All dependencies should be installed in a vendor directory.