Tuesday 24 March 2015

How to install laravel framework

This post is about installing Laravel framework on your computer provided that you have local server up and running.If you don't know how to install a local server on to your computer you can read my previous post on How to install a local server on computer.
So lets get started.
Open your favorite browser an search for Composer.

But before we download composer we need to allow open SSL.To do this go to your

wamp-folder/bin/php/php5.5.12(number depends on your version)/php.ini 

Open the php.ini file with notepad and search for openssl and make sure that the line

extension=php_openssl.dll

is uncommented

Go back to composer page in browser and hit the download buton


Copy the second link from the download page


Open Command prompt and browse to your Wamp folder and paste the link copied in the previous step

Now type

php composer.phar create-project laravel/laravel www --prefer-dist 

into the CMD and hit enter this will install laravel framework into www folder.

Now we are done with the installation but before we start using the framework we need to set certain permissions to the framework.Go to 

Wamp-folder/www/

Right click on app folder and open properties
Click on the security Tab
Select system and make sure that it has write permission

Now go to 
Wamp-folder/bin/apache/apache2.4.9/conf/

Open the httpd.conf file with notepad and serach for mod_rewrite and remove the # which is in front of the line



Finally we come to the end of this long process.The only thing left now is to check if all the installation was successful
Open up the browser type in localhost you should get a list of folder.
Click on public folder you should get a page like this


Thats all you have successfully installed Laravel framework on your local server 








5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Thanks for sharing the Tutorial for installing Laravel framework. I work as Laravel developer for Baymediasoft. The company offer best in class Laravel development Services.
    Thanks

    ReplyDelete
  3. simple and easy steps to setup Laravel on Windows, check it out here,
    http://justwebcode.blogspot.com/2017/07/how-to-setup-laravel-on-windows.html

    ReplyDelete
  4. smart outsourcing solutions is the best outsourcing training
    in Dhaka, if you start outsourcing please
    visit us: Online earn bd

    ReplyDelete
  5. Useful information! Hire Laravel developers from HireFullStackDeveloperIndia to leverage the benefits of Laravel technology.

    ReplyDelete