From e78f66ad105a31699af25b1f069416ddbcc2e859 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 13 Oct 2021 20:13:12 +0000 Subject: [PATCH 1/2] Restyled by prettier-markdown --- README.md | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 023278a..7494675 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,52 @@ # Blog-PHP-OOP -Ce projet est un blog realisé avec un framework PHP from scratch, lors de ma formation dans le but d'apprendre les bases du langage PHP, de l'Orienté Objet paradigme et du patron de conception MVC. +Ce projet est un blog realisé avec un framework PHP from scratch, lors de ma +formation dans le but d'apprendre les bases du langage PHP, de l'Orienté Objet +paradigme et du patron de conception MVC. ## Prerequisite : -PHP 8, MySQL, Apache. + +PHP 8, MySQL, Apache. ## Languages and libraries -This project is made with: - - PHP 8 - - HTML5 - - CSS3 + Bootstrap - - JS + +This project is made with: + +- PHP 8 +- HTML5 +- CSS3 + Bootstrap +- JS Dependencies manager: Composer PHP packages, included via Composer: - - Twig: 3.0, - - Symfony/Dotenv: 5.3, - - Bootstrap: 5, - - Phpmailer: 6.5 + +- Twig: 3.0, +- Symfony/Dotenv: 5.3, +- Bootstrap: 5, +- Phpmailer: 6.5 ## Installation + 1. Download project zip or clone it from git. 2. Unzip 3. Open terminal and get into the project folder -``` cd blog-php-poo``` + ` cd blog-php-poo` 4. Install dependencies with composer -```composer install ``` + `composer install ` ## Database + 1. Create a new MYSQL database 2. import blog_php_db.sql ### Environment Variables + 1. Copy .env.dist and rename it in .env. 2. Customize variables as needed. ### Mail Sending + Configuration is in /src/Mails/Mail.php -1. TCP port to connect to and host are set on .env. \ No newline at end of file +1. TCP port to connect to and host are set on .env. From 3bcd3819d2fa9b4bbc96851970c0a383f91fab97 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 13 Oct 2021 20:13:13 +0000 Subject: [PATCH 2/2] Restyled by whitespace --- README.md | 4 ++-- src/Mails/Mail.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7494675..472a8b6 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ PHP packages, included via Composer: 1. Download project zip or clone it from git. 2. Unzip -3. Open terminal and get into the project folder +3. Open terminal and get into the project folder ` cd blog-php-poo` -4. Install dependencies with composer +4. Install dependencies with composer `composer install ` ## Database diff --git a/src/Mails/Mail.php b/src/Mails/Mail.php index 220c3b1..8a50a25 100644 --- a/src/Mails/Mail.php +++ b/src/Mails/Mail.php @@ -138,4 +138,4 @@ public function setHost(string $host): void } -} \ No newline at end of file +}