In this tutorial we will going to learn how to install Laravel latest version on Xampp or Lampp, Basic requirements to run Laravel, how to use composer command to create laravel projects and much more ..
Offical Website :
https://laravel.com/
Laravel Project Requirements :
- Xampp / Lampp / Homestead / Valet
- Composer
- PHP >= 7.2.5
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
Video Tutorial : Installing Xampp and Laravel on Linux
Creating Laravel Project :
Using Composer :
composer create-project --prefer-dist laravel/laravel Projectname
Using Laravel Installer :
First we need to install Laravel install via composer, Open Terminal / CMD and run command
composer global require "laravel/installer"
then create project
laravel new Projectname
Testing Laravel
Go Inside Projectname and open terminal/cmd and
Run command
php artisan serve
and visit
http://localhost:8000