-
Home
-
Blogs
-
What-is-Laravel-and-how-to-install-at-localhost -
What is Laravel and how to install at localhost?
By Harsh Aggrawal | Jul, 08 2018 05:02

What is Laravel and how to install at localhost?
Laravel is the PHP web framework, created by Taylor Otwell. Laravel is open source which freely available for anyone. Laravel - intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony.
Following are steps, to install / setup laravel on your localhost(Wamp/Xampp server).
- First of all download COMPOSER (Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries). Composer help developer for creating controllers and views and so many dependencies which required by MVC.
- Install compose from the give link https://getcomposer.org/download/ , then goto manual download https://getcomposer.org/Composer-Setup.exe for first time user and windows OS user.
- Create your first directory using composer command in CMD.
- First type composer to check it is install properly or not.
it seems like that.
- Then set directory path of www or htdocs in wamp or xampp simultaneously.\
- Then type composer command composer create-project --prefer-dist laravel/laravel blog.
- Now your first project on laravel is created successully.
- Now you can run by two methods...
- Using composer command php artisan serve .
- Second open localhost > lab > public.
- End.
Next Blog on how to create controller and model using composer and create view. We can also learn about file structure of Laravel.
Thank You for reading....
0 comments