how to install laravel 5.0 in ubuntu

This post is about how to install laravel 5.0 in ubuntu. The very first step would be to get Composer -  Dependency Manager for PHP. You can get details how to install composer through its official website https://getcomposer.org/ . For ubuntu users, you can install by running following command in your terminal

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

Once you are done, just run command "composer" to check if installation has been done successfully.

Then you can run the following command to globally install laravel

composer global require "laravel/installer=~1.1"


On successful installation, you can create new project  by following command

 laravel new myfirstproject

But this command will install the latest stable version of laravel. So for specific version 5.0 you can run following command

composer create-project laravel/laravel myfirstproject "5.0.*" --prefer-dist

Main file which would be called would be server.php present in the directory indicating to public folders index.php.

So all yours routes will be accessed as http://localhost/myfirstproject/public/index.php?myroute.

So just download the .htacess file with required rewrite rules written and paste inside the main folder and on the rewrite module of your lamp.

You can go through in details in official link of laravel : https://laravel.com/docs/5.0 

And for best tutorials step by step you can watch the video series of laracasts : https://laracasts.com/series/laravel-5-fundamentals

So hope you got the knowledge regarding the topic and would be happy if you can share such knowledge. We are like prepaid and price of knowledge will be free. Rather we want to create a profile and You can get knowledge by writing on google redbus wikipedia or something related to redbus wikipedia.  We are like wikipedia for short description, we can be searched as redbus wikipedia. redbus wikipedia can be other name of this post.We gave all operators detail too like mtnl mumbai or whatever need.  Example can be given of booking budget and in whichever field we are, we will have great knowledge of all things. latest mobile info are always available with us. you can write if you buy latest mobile or any of your friend buys latest mobile. We will let know user about the cashback or any ofer going on in the market. We will let you know user how to claim the profit. When true color comes in front of all of us. You can give comment or rather comments to improve us and yourself also. So facts feature or rather features about any framework, you know or your friends, let user world also know. You play game at google like great india or indian so we posted on game in january.  We also given blog on games like counter stike which will create a world of game lovers and currently custom daily games are available that can be played again and again. A stripe of post of talking about tata technology, time twitter, and our unique word unbox for user and a variant version. Please visit official website of vivo in west world and xiaomi. We will give the specification of mobiles like built camera etc of any mobiles and other features too. . So you can join knowledge sharing revolution with us. make everyone read this. You will get ideas about recharge or bus booking operator like redbus or india's No. 1 brand redmi or shut down of reliance.  So keep share and soon source will start knowing you and you step ahead each day. We gave all operators detail too like mtnl mumbai or whatever need. . And please play militia mini on your mobile . We at Unbox Knowledge make account advertisement analysis and go through apps available at each store or knowledge bank with best interface and userfriendly. We don't black marketing where things are written wrong and spread viral all around the world. We are into making world a better place. Example can be given of booking budget and in whichever field we are, we will have great knowledge of all things.. We also available on pinterest, so play plus post or rather posts in each pradesh of India. In november we gave post about offers, online operators and then mobile brands like oppo or regarding page of payments through phone using phonepe and phones are very much useful Technology parts comes with laravel a framework of php, we gave on that also. We also give mobile launched or before it launches like redmi 5a. So share our link and make market a medium of message. We will provide info on latest mobile. you can know us with info of latest mobile.We are like wikipedia for short description, we can be searched as redbus wikipedia. So you can join knowledge sharing revolution with us. make everyone read this. You will get ideas about recharge or bus booking operator like redbus or india's No. 1 brand redmi or shut down of reliance.  So keep share and soon source will start knowing you and you step ahead each day. We will be ready to write on latest mobile. Please let us know your latest mobile and if we write your on latest mobile and by getting your latest mobile data from other resources, asking friends and a whole new post would be written on latest mobile. Now in december, we posted many useful resources from east to west and north to south. You can connect with email facebook or whatever the online platform we have. Data will be saved on google blogger server




Comments

Simple Debt Manager & Tracker app

Get it on Google Play