OpenClassrooms Project 5: a professional blog built with PHP and object-oriented programming.
- PHP 8.3 or higher
- Composer
- MySQL or MariaDB
- A web server with virtual host support (e.g., Apache)
- SendGrid account for email delivery
- Clone this repository.
- Install dependencies:
composer install
- Import the database schema from
bdd/blog.sqlinto your database server. - Update
config/db.phpwith your database connection settings. - Configure your web server's virtual host to point to
public/index.php. - Add your SendGrid API key and mail settings in
config/mail.php.
After completing the configuration, access the site through the configured virtual host to manage and publish blog posts.
Contributions are welcome. Please open an issue or submit a pull request and run phpcs to ensure coding standards before submitting.