Course Content
Laravel Introduction
Laravel is a PHP framework that uses the MVC architecture. Laravel is a robust framework that provides easy development of PHP web applications with features like a modular packaging system with a dedicated dependency manager, access to relational databases, and other utilities for application deployment and maintenance.
0/4
Laravel Routing
Routing is one of the essential concepts in Laravel. Routing in Laravel allows you to route all your application requests to its appropriate controller. The main functionality of the routes is to route all your application requests to the appropriate controller.
0/3
Laravel Controllers
Laravel controllers are an essential feature in a Laravel framework.
0/1
Private: Laravel
About Lesson

Composer

Laravel uses a composer for managing dependencies within it. Hence, before the use of Laravel, it needs to check whether you have a composer set up on your system or not.

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

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

https://getcomposer.org/download/

2. After the Composer is installed, check the installation by typing the composer command in the command prompt as shown in the following screenshot

Composer

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

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

The command mentioned above will make Laravel installed on that specific directory.

4. Start the Laravel service by executing the following command.

php artisan serve

5. The above code will start the Laravel service. A message will appear on the screen: A black screen will appear showing the message: Laravel Development server started on http://localhost:8000 

6. Copy and paste: http://localhost:8000 in your browser, and you can see the Laravel home screen appears in your browser.

If you see the following screen, it means Laravel has been installed successfully.

Laravel