composer create-project laravel/laravel
composer create-project --prefer-dist laravel/laravel blog "6.*"composer global require laravel/installer
laravel new bloglaravel new blogBefore 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
Also in PHP:
- echo console.log php
- convert date to timestamp php
- Redirect::route('profile') and with() in laravel
- Get the number of days between two dates in PHP
- PDO encode result recordset to utf8
- echo in json format
- explain date function in php
- add customer attributes via upgrad data in magento 2
- command for create project in laravel
- disable cache laravel 8 development
- display errors off php
- confirm popup laravel
- find string php
- date('c') php
- cache flush laravel
- php + server + databse
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) composer
- find if a string contains a keyword
- check if in array key match php
- can i throw exception in catch block php
- Demonstrate the use of Loops and arrays in PHP
- explode comma php
- create an exception php
- error uncaught even in try catch php