This project was created as part of my training in the OpenClassrooms PHP/Symfony Developer track.
--> Version : Français 📖
PHP Blog Project is a simple PHP blog platform designed to allow a developer to showcase their talents and skills through a personalized blog.
The website was developed from scratch, without relying on CMS like WordPress, to demonstrate my skills in PHP web development.
- Home page : Includes developer information such as name, photo/logo, and a personal catchphrase.
- Blog posts list : Displays all blog posts, sorted from newest to oldest.
- Detailed view for each post : Each post includes a title, content, and updated date with a comment form.
- CRUD operations : Ability for the blogger to add, modify, and delete posts.
- User authentication : Includes login and registration pages.
- Security enhancements : Protects against common vulnerabilities such as XSS, CSRF, and SQL Injection.
- Responsive design : The site is fully styled with HTML/CSS, providing a modern, responsive presentation.
Before you begin, ensure you have the following installed :
- PHP
- XAMPP (for Apache and phpMyAdmin)
- Git (to clone the repository)
-
Clone the repository
Use Git to clone the project :git clone https://github.com/TolMen/OCProjet5.git
-
Move the folder
Move the cloned folder to thehtdocs
directory of XAMPP. -
Create the database
Open phpMyAdmin and create a database for the project.
Make sure to create the necessary tables with the proper columns. -
Configure the database connection
Edit theconfigBDD
file to update the database connection settings with your own database credentials. -
Start XAMPP
Launch the XAMPP Control Panel and start the Apache and MySQL modules.
Then click Admin to access phpMyAdmin.
Thank you for exploring this project.
Feel free to explore, modify, and improve it ! ✨
For any questions or collaboration, don’t hesitate to reach out ! 📩