Laravel Framework

About Laravel

Laravel is a powerful MVC PHP framework,  open-source framework, which is easy to understand. It follows a model-view-controller design pattern. Laravel reuses the existing components of different frameworks which helps in creating a web application.

Laravel offers a set of functionalities which incorporates the basic features of PHP frameworks like CodeIgniter, and other programming languages . Laravel has a very rich set of features which will boost the speed of web development.If you are Konow Core PHP and Advanced PHP, Laravel will make your task easier. It saves a lot time if you are planning to develop a website from reference. Moreover, a website built in Laravel is secure.

Advantages of Laravel

  •  Web application becomes scalable with Laravel framwork.
  •  It is time saver in designing the web application, since Laravel reuses the components from other framework in developing web application.

How To Install Laravel

You will have to follow the steps given below for installing Laravel onto your system −

Step 1 − Visit the following URL and download composer to install it on your system.

Step 2 – After the Composer is installed, check the installation by typing the Composer command in the command prompt.

Step 3 − Create a new directory anywhere in your system for your new Laravel project. After that, move to path where you have created the new directory and type the following command there to install Laravel.

                  composer create-project laravel/laravel –-prefer-dist

Now, we will focus on installation of version 5.7. In Laravel version 5.7, you can install the complete framework by typing the following command −

                  composer create-project laravel/laravel test dev-develop

The Laravel framework can be directly installed with develop branch which includes the latest framework.

Step 4 − The above command will install Laravel in the current directory. Start the Laravel service by executing the following command.

                                               php artisan serve

Step 5After executing the above command, you will see a screen in which you will see a grey color lined URL.

Step 6 − Copy the URL underlined in gray in the above screenshot and open that URL in the browser. It implies Laravel has been installed successfully.

The application structure in Laravel is basically the structure of folders, sub-folders and files included in a project. Once we create a project in Laravel, we get an overview of the application structure.


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *