The Laravel framework needs a few requirements to be installed on your system. If you wish to install the latest version of laravel, you can follow the system requirements below and install using the composer.
Laravel system requirements
- OpenSSL extension for PHP
- PDO extension for PHP
- Mbstring extension for PHP
- Tokenizer extension for PHP
- XML extension for PHP
- Unit Testing
- Database Seeding
Laravel installation using composer
If you do not have Composer installed on your computer, first visit this URL to download Composer and install it.
Create a project in laravel
Now, open the command prompt and go to your server directory using the command prompt. Enter following the below command to create the laravel project.
composer create-project --prefer-dist laravel/laravel blog