What
is Laravel Framework ?
Laravel is a PHP based web framework for building high-end web applications using its significant and graceful syntaxes. It comes with a robust collection of tools and provides application architecture. Moreover, it includes various characteristics of technologies like ASP.NET MVC, Code Igniter, Ruby on Rails, and many more. This framework is an open-source framework. It facilitates developers by saving huge time and helps reduce thinking and planning to develop the entire website from scratch.
hat is a Framework?
Since they are often built, tested, and
optimized by several experienced software engineers and programmers, software
frameworks are versatile, robust, and efficient. Using a software framework to
develop applications lets you focus on the high-level functionality of the
application. This is because any low-level functionality is taken care of by
the framework itself.
Requirements for LARAVEL
Server, PHP 7.3 or 7.3+, My
Sql
TO
INSTALL AND SETUP PROCESS
Step
1: Before
download LARAVEL, make sure to download LOCALHOST web server
Eg: WAMP, XAMPP and etc.,
Lets see how to install xampp
Click to the first site
This
window in shown then click to download
After download to setup the XAMPP server like this
And this window will show
Click
the finish button, finally server was download and setup it works
Now
download COMPOSER because to see the reason in step 2
Step
2:
The main purpose of the
composer is to install the dependencies or libraries for an application.
The composer also provides the users to install the PHP applications available
on the Packagist, where Packagist is the main repository that contains all the
available packages.
So we first install the COMPOSER to the PHP, Lets see the following steps
Go to the browser enter the COMPOSER and click the first site, then above image will be shown on the window then click the download button on the site to download the composer.
After that this above
the image will show then click the “Composer.setup.exe” link to download
the composer.
Step 3:
Maybe you install a
xampp composer choose it path default to save the composer file to PHP
Then go to check composer was install like this below image
Go to command prompt
then type ”composer -v” to the prompt then this type of image will show
Step 4:
Before install laravel to create and set path to save laravel project file
Step 5:
Now we install “Laravel Framework” to PHP with help of composer using this command
In the image both type
of commands are use to install the laravel but second one is global command we
type the command only installing time but first one is typing each and every
time creating the project
Now we type in the above image second box first command to the prompt first
Some install process
was run then you will type second line command in this “example-app” is
a project file name so we change the to our convenient
Step 6:
After to type these commands
in the below image command shown the prompt
In the above image the
last line command is shown your project will ready for work
Step 7:
Now we check create a project file to we set path like this
After completed these
steps now we install editors like eg: sublime, VS code or etc.
Step 8:
Now we will see the download process of VS code
In the above image to
download and install the VS code
After install VS code interface is like this
Step 9:
Now we go for extension for laravel like this below image
To download the laravel
extension pack for the use of laravel framework properly
Step 10:
Now we connect the server to laravel framework in vs code through terminal in vs code with use “php artisan serve” these command like this
Then copy the http link
on the shown window like above the image
Step 11:
And paste the link on the web now this page is show on the window it happens the server will connect and start like below the image
So finally server was
started now we see to stop the server
Step 12:
To stop the server we go back to vs code terminal to click “CTRL+C” to stop the server like these
Step 13:
Then refresh the web browser to check
Step 14:
Finally Laravel
Framework install and setup was completed
Comments