Start Laravel Project with a simple Composer Commend

Mahabubur Rahman
0

 
 
Usually, we start a laravel porject with laravel-master. But by a simple composer commend we can start to create a laravel project easily.First of all you must install composer on your PC. For start laravel porject this way run command prompt and go your server root. i.e- htdocs or www and run this following small command.

composer create-project laravel/laravel [your porject name]
i.e-
composer create-project laravel/laravel laranews

it will take some time to complete the project install  process.

after complete go to web browser and run your project/public folder.
ie-
http://localhost/laranews/public
Then you will see a page same as below.
 

Post a Comment

0Comments
Post a Comment (0)