The PHP Framework Laravel installation
Today, We want to share with you The PHP Framework Laravel installation.
In this post we will show you Laravel installation PHP steps, hear for Laravel 5 Installation and Configuration we will give you demo and example for implement.
In this post, we will learn about Installation – Laravel – The PHP Framework with an example.
here in this artical Now time of frameworks all the php frameworks in php like laravel, codeigniter or more etc and easy to install php simple steps by steps install frameworks on local server like sever as a xampp, wamp etc.Laravel installation PHP steps
Requirements for laravel installation
There are Following List of the Requirements installation Laravel
PHP >= 5.5.9
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
Install Xampp for laravel installation
First of all, we need Xampp, so we can download it from the official page:
Composer for laravel installation
Step By step Laravel Installation
Requirements : PHP version greater than 5.3.7 or more is required
Phase 1:First of package Download Laravel from here this link: https://github.com/laravel/laravel/archive/master.zip
Phase 2: Now Extract Laravel package and then into the www web or server folder for WAMP (http://www.wampserver.com)
Phase 3:as well as Download Composer from here official site: https://getcomposer.org/Composer-Setup.exe
Phase 4: Install step by step Composer into the same php root directory php.exe is located and browser
Phase 5:next step to Click on WAMP or xampp icon->PHP->PHP Extensions loaded and enable: php_openssl,simple extenstion php_curl, php_socket
Phase 6: and then Click on wamp or xampp icon->Apache->Apache select path Modules and enable all the ssl_module
Phase 7: simple Enable openssl extenstion remove comment from all php.ini files
Phase 8:please Open cmd (w+R)
Phase 9: amd then Change into the directory Like as a (c: drive)where you extracted Laravel project – e.g: cd C:\wamp\www\laravel
Phase 10: simple Type the command here : composer install
Phase 11: and then Copy and your paste all \public\ folder and here install files into WAMP’s www folder or xampp server
Phase 12: Open bootstrap\paths.php simple and edit the line to the ‘public’ => DIR.’/../public’, simple to ‘public’ => DIR.’/../www’,
Now Happy so your Laravel Installation completed. 🙂
Install Laravel Framework create project using command line
composer create-project laravel/laravel laravel "5.1.*"
Onther Way laravel create project
composer create-project laravel/laravel your-project-name --prefer-dist
Using CMD(command line) create project command :-
1. Open the CMD (start>serch for “cmd”> click on cmd.exe)
# install laravel using create project command composer create-project laravel/laravel --prefer-dist #composer create-project laravel/laravel d:\xampp\htdocs\laranew
2. Now wait until process completed. and you done.
How to install Laravel 5.2
composer create-project --prefer-dist laravel/laravel YourProjectName 5.2 laravel new YourProjectName
How to install Laravel 5.0
composer create-project laravel/laravel test-laravel-5-project --prefer-dist //You can also use alternative method using composer global require "laravel/installer=~1.1" laravel new test-laravel-5-project
We hope you get an idea about The PHP Framework Laravel installation
We would like to have feedback on my Information blog .
Your valuable any feedback, Good question, Inspirational Quotes, or Motivational comments about this article are always welcome.
If you liked this post, Please don’t forget to share this as Well as Like FaceBook Page.
We hope This Post can help you…….Good Luck!.
Here are some more FAQ related to this Article: