PHP Laravel
- the PHP Framework For Web Artisans
- Laravel is a web application framework with expressive, elegant syntax
- Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching
Installation
Click here to expand...
Don’t need to run if you use composer way to create laravel project
Run this in terminal
composer global require "laravel/installer"Add this to
$PATH$HOME/.composer/vendor/bin directory
Project Creation
Click here to expand...
Composer Way
Does not need laravel setup
run this in any directory
composer create-project --prefer-dist laravel/laravel blogLaravel Way
Once installed, the laravel new command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog will create a directory named blog containing a fresh Laravel installation with all of Laravel’s dependencies already installed:
laravel new blog