In this tutorial you will learn about the Laravel Installation and its application with practical example.
Server Requirements
- PHP >= 5.6.4
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
Installing Laravel Using Composer
Step 1 – Download composer and install it on your system from the link given below
1 |
https://getcomposer.org/download/ |
Step 2 – Open command prompt and browse to web server root directory or localhost folder (Assuming you have installed WAMP server in C:\wamp , open C:\wamp\www).
Step 3 – Type the following command there to create new Laravel project using composer
1 |
composer create-project --prefer-dist laravel/laravel mylaravel |
Replace mylaravel with your project name.
Step 4 – Test the installation
Open the following link in your web browser.
1 |
http://localhost/mylaravel/public/ |
Replace mylaravel with your project name.