Hello Friends ! Laravel is a very famous and secure PHP MVC web Framework designed for developers who need a simple and elegant toolkit to create full-featured web applications. This Framework has become very much popular among world’s PHP web programmer for it’s various outstanding features. Laravel was created by Taylor Otwell.
In this tutorial Series I will guide the developers and students who want to learn how to develop a website using Laravel. This tutorial is particularly meant for all those developers who have no prior experience of using Laravel. But we make an assumption that you are familiar with HTML, Core PHP, and Advance PHP. We have used Laravel version 5X in all the examples.
The Laravel framework has a few system requirements. Before installing laravel you will need to make sure your server meets the following requirements:
PHP >= 5.6.4 for Laravel 5.3 and 5.4 or PHP >= 5.5.9 for 5.1 and 5.2
• OpenSSL PHP extension
• PDO PHP extension
• Mbstring PHP extension
• Tokenizer PHP extension
For managing dependencies, Laravel uses composer. Composer is a dependency manager for PHP, much like NPM for Node or RubyGems for Ruby. You’ll need Composer to install Laravel,
update Laravel, and bring in external dependencies.
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 as shown in the following screenshot.
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 --prefer-dist laravel/laravel blog
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 5 − After running the above command, you will see a screen as shown below −
Step 6 − Copy the URL underlined in gray in the above screenshot and open that URL in the browser. If you see the following screen, it implies Laravel has been installed successfully.
So we come to the end of the Laravel Installation. All part of the Laravel Installation are described and hope you all understand properly.