I am learning PHP. This is a blog about programming. It created with the help of laravel framework and uses MVC pattern.
Advantages of using laravel:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel, bootstrap 4, jQuery, mysql, git.
These software must be installed on a computer:
- Composer.
- PHP 7.2 or newer.
- Laravel 6.
- MySQL.
This project includes: authentication, registration, administration and commenting system, uploading files, likes and views for articles and comments, cookies.
Follow these steps for installing it on your coputer:
- Open console and go to the desired directory. For example: cd C:/ospanel/domains/
- Download: git clone https://github.com/VladDvl/blog.git
- Move to the directory of the project: cd C:/ospanel/domains/blog/
- Update composer with command: composer self-update
- Install dependencies: composer install
- Then copy code in the file example.env to the file .env
- Create mysql database with the same name, that declared in .env file
- Create tables in the database. Write in console the following command: php artisan migrate
- Everything is ready to use. Now run openserver and go on the site in your browser. For example: http://blog
- Documentation for laravel ( https://laravel.com/docs/ )
- Bootstrap ( https://getbootstrap.com )
- jQuery ( https://jquery.com )
- Project on github ( https://github.com/VladDvl/blog )