laravel project create command code example
Example 1: install laravel
composer create-project --prefer-dist laravel/laravel blog "6.*"
Example 2: create project command in laravel
Before starting this hope you installed composer dependancy manager for PHP.
-----------------------------------------------------------------------------
So if you want to create a project by name of 'first_laravel_app' in directory C:/xampp/htdocs/ then what you need to do is
Locate your project parent directory using cmd
>cd c:/xampp/htdocs
and fire this command
>composer create-project laravel/laravel first_laravel_app --prefer-dist
And its done, this is really easy and it also creates Application Key automatically for you.
# I hope it will help you.
# Namaste
Example 3: laravel new project
laravel new blog
Example 4: install laravel
composer global require laravel/installer
Example 5: installation larave
composer create-project --prefer-dist laravel/laravel blog
Example 6: laravel create command tutorial
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'email:send {user}';