Laravel Installation
Follow the steps below to install Laravel
Step 1 : Install Composer
What is Composer?
Composer is a dependency manager for a PHP programming language that manages the dependencies of PHP software and required libraries.
Composer will be required to install Laravel. Before installing Laravel make sure you have Composer installed on your system. To check if Composer is installed in your system or not, run the following command.
composer
Outpur :
The above screen shows that the composer has been installed successfully.
If the output does not look like the image above, you need to have Composer installed. If you need to install Composer check the link below
Click on the link given below to download the Composer: https://getcomposer.org/download/
Step 2 : Install Laravel App
composer create-project laravel/laravel laravel-crud-example
Advantages of Laravel?
- Open Source
- Collection of tools and packages
- Improve Productivity
- Coding Easy, Faster And Better Application.
- Security of the Application
- Authentication
- Routing
- Modularity
- Templating
- Mail service integration
- Handling exception and configuration error
- Scheduling tasks configuration and management
Composer :
In Laravel, the composer is a tool that includes all the dependencies and libraries. It helps the user to develop a project with respect to the mentioned framework. Third-party libraries can be installed easily using composer.
Artisan :
The command line interface used in Laravel is called Artisan. It contains a set of commands that help build web applications.
Prerequisite :
Before learning Laravel, you should have a basic understanding of PHP.
Audience :
This tutorial will guide developers and students who want to learn how to develop a website using Laravel. This tutorial is especially for all developers who have no previous experience of using Laravel.