Steps to Install laravel
To Install Laravel follow following points:
- Use command:
Composer global require Laravel/installer
- Then change the directory to htdocs from cd.. command
- After that cerate project using following command
Laravel new project_name
It takes some time when it’s done then open the project to any editor like visual studio then Use terminal and check the path its correct or not
- After that use the following command
php artisan serve
This command is used to start Laravel on development server to preview the project
- After that there is a link click on it to view the output.
- Finish