Step-1.Firstly we have install composer if you have already installed the composer no need to install
again or if you don't have install see my last post how to install composer.
Step-2. After install composer to start the Installation process of Laravel on window and Linux both.
1. Firstly we have written a command on the terminal in Linux or write a command on command prompt in windows.
$ composer create-project --prefer-dist laravel/laravel project-name
2. After Successfully Installation of Laravel, we have to write next command to start Laravel server please write a command on Window or write a command on the terminal in Linux.
$php artisan serve
Step-3. Copy Laravel development server started: <http://127.0.0.1:2020> and paste browser Tab. .
Step-4. If we want to connect Laravel and database phpmyadmin then write command.
$ php artisan migrate
This command also creates a table in your database but remember always your localhost like xampp server or wampserver will be working.
Guys if you have any problem-related Nodejs Comment me definitely we solve your problem.
0 comments:
Post a Comment