Skip to content

siakamansaly/Professional_Blog_PHP

SymfonyInsight          Codacy Badge


Logo

Professional Blog PHP

My first blog in PHP

About The Project

Screenshot

The goal of this project is to create a blog in my colors to show my talents as PHP developer. This project carried out in PHP, OOP and adopts MVC architecture. It is also necessary to respect PHP Standard Recommandation and ensure that there are no security breaches. (Code quality monitoring on Codacy or SymfonyInsight)

The project contains:

  • a connection and registration system
  • a frontend part with my presentation as well as all my articles
  • a part allowing users to comment on an article
  • a backend part to manage articles, comments and users.

(back to top)

Built With

This section list the main frameworks/libraries used to start your project.

(back to top)

Prerequisites

This is the list of things you need to use the software.

   - PHP: >=7
   - MySQL
   - Apache
   - Composer

Getting Started

To get a local copy up and running follow these simple example steps :

1. Clone the repo Professional_Blog_PHP

git clone https://github.com/siakamansaly/Professional_Blog_PHP.git

2. Import the BlogPerso.sql file from the database folder into your SQL database (You can delete the database folder after installing the database).

3. Install composer packages

cd Professional_Blog_PHP
composer install

4. Rename .env.example to .env then you customize variables as needed to run the environment.

DB_CONNECTION=mysql
DB_HOST=localhost
PORT=3306
DB_NAME=blogperso
CHARSET=utf8
DB_USER=root
DB_PASSWORD=password
HOST_SMTP=smtp.example.fr
PORT_SMTP=587
MAIL_FROM=admin@example.com
MAIL_REPLY=admin@example.com
MAIL_FIRSTNAME=Siaka
MAIL_LASTNAME=MANSALY
TITLE_WEBSITE="Blog de Siaka"
META_AUTHOR="Siaka MANSALY"
META_DESCRIPTION="Siaka MANSALY, Développeur PHP. Retrouvez mon profil, mon CV ainsi que mon blog."

5. Run project (Change 3000 by your local port)

php -S localhost:3000 -t public/

6. Log in with the following administrator account :

-Username : admin@example.fr
-Password : password

7. Finally, change the email and password of administrator account ("My Account" section)

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

1. Fork the Project

2. Create your Feature Branch (git checkout -b feature/NewFeature)

3. Commit your Changes (git commit -m 'Add some NewFeature')

4. Push to the Branch (git push origin feature/NewFeature)

5. Open a Pull Request

(back to top)

Contact

Siaka MANSALY : siaka.mansaly@gmail.com

LinkedIn : https://www.linkedin.com/in/siaka-mansaly/

Project Link: https://github.com/siakamansaly/Professional_Blog_PHP

(back to top)

Acknowledgments

Thanks to my mentor Hamza for his guidance and support!

(back to top)

About

Professional blog developed in PHP, OOP and MVC architecture

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •