Laravel startup guide for beginner

Introduction

Laravel is a MVC framework developed in PHP. It is a simple and easy framework, having many plugins or libraries for the web applications. In today’s world, Laravel is the best PHP framework for developing business web application. Here we provide the startup guide for beginners of Laravel framework.

Pre-requisite

Make sure that the following is installed in your system:
– PHP version greater than or equal to 7
– OpenSSL PHP Extension
– PDO PHP Extension
– Mbstring PHP Extension
– Tokenizer PHP Extension
– XML PHP Extension
– MySql version greater than or equal to 5.5 or any other DB

Laravel 5.5 Installation

You need composer to install laravel in your system. If you don’t have “composer” then please get it and install it from https://getcomposer.org/. Please make sure that composer path is set in the windows ‘Environment Variables’ Eg, PATH = C:\Users\Admin\AppData\Roaming\Composer\vendor\bin


Step 1:
Create the directory for your project Eg, G:\xampp\htdocs\laravel_project
Step 2:
Then open your command prompt using the following method:
– To open ‘run’ popup, press windows key + R key
– In the text box of opened window, type ‘cmd’ and click ‘ok’
Step 3:
In the command prompt, Change the path to G:\xampp\htdocs\laravel_project and type the following command.

The laravel is now installed in your “laravel_project/project_name” directory

Run The Project

Now run the following URL in your browser and the laravel page will be shown.

Please follow and like us:
error

Leave a Reply

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