How to install Laravel Framework for Development of PHP Websites
1. You
must have code editor for PHP e.g Visual Studio Code, Sublime Text etc.
2.
Download
and install XAMPP Server (Link: https://www.apachefriends.org/download.html)
3.
Download
and install composer
4. For testing composer’s installation, open command line interface and type “composer” and press enter, you’ll confirmation will be displayed.
5.
Open
link in browser https://laravel.com/, Click
on documentation, go to installation section, go to sub section “Create a
laravel project”, copy following command
composer global require laravel/installer
Open command line
interface and enter this command, it will install laravel installer on your
system.
6.
Open
command line interface and type “laravel”, it will display confirmation of
laravel installer
7.
Now
open folder of XAMPP server in drive where you’ve installed it, goto htdocs
folder, then click to address bar and type cmd, then type following command in
command line interface.
“composer
create-project laravel/laravel projectname”
This command will create
project with name “projectname” in htdocs folder

No comments:
Post a Comment