Pages

Sunday, 19 July 2015

Installing Laravel on Linux OS[Easy Way]


So guys i'm very happy to post this article on installing laravel on Linux operating System. Laravel is basically a Model View Controller based framework of php. Let me tell you my own story i was quite frustated when i was working with php as it is so full of flaws and then i left php and started coding in ROR(Ruby on Rails) ... then after sometime i came across this fucking awesome framework of php[Laravel] and seriously friends i fell in love with laravel.. i can only say that laravel is the ruby on rails for php.

No more story! Now the geeky task of installing laravel on linux operating system! So there is basically two prerequisite find those article here 

1.) setting php in path !

2.) Installing super awesome dependency manager for php i.e composer

Follow both the tutorial and add php to path and install composer to the system next run this command to install laravel in your terminal


this command will basically install laravel installer into your system. You can use laravel installer by navigating into the following directory as shown in terminal


but it's a bad practice to navigate to the bin folder of composer and then run laravel installer to craft a application. So for this purpose we need to set laravel installer into our path. So for that purpose open terminal and type the following command!






This command will basically open /etc/profile in nano text editor like this 


add the following line at the end of the file to add laravel installer in your path.








Now press CTRL + O to save then CTRL + X to exit from the nano text editor.
Then reload the /etc/profile by using the following command 





and after that run the command laravel into your terminal like this!


So that's how we set up laravel installer and now we wanna craft a laravel application to start development so for that purpose run the following command in terminal as shown in the picture














So our laravel installer just crafted a laravel application named swapnil(as provided) .. So, now time has come to run this application and see it in the browser!

So i need you to locate into directory or application you just created i.e swapnil , and then run the following command to start the laravel's development server !
For this purpose we will use artisan a command line tool comes with laravel for webartisans :) 

type the following command for starting the laravel's development server!








now open the browser and hit the link shown in the terminal i.e. http://localhost:8000/

and magic see the beautifull laravel application  


That's it ! This is how you can install laravel on your system! 

27 comments:

  1. An operating system is the most important software that runs on a computer(UNIX Training Chennai). It manages the computer's memory, processes, and all of its software and hardware. Using a highly secured and effective operating systems are always wanted by the consumers(UNIX Course in Chennai). You hae said that crystal clear in your content above. Thanks for sharing this in here.
    UNIX Training Chennai | UNIX Course in Chennai

    ReplyDelete
  2. Awesome website! Your style is so fresh in comparison with most other people. Thanks for posting whenever you have the opportunity to, I will be sure to save your website! medical tourism in India

    ReplyDelete

  3. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  4. Awesome blog great stuff you given thanks for sharing.... Hire laravel developers UK ....
    The blog was absolutely fantastic!

    ReplyDelete
  5. xcellent tips. Really useful stuff .Never had an idea about this, will look for more of such informative posts from your side... Good job...Keep it up
    Laravel development UK |
    Laravel development company UK

    ReplyDelete
  6. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    google-cloud-platform-training-in-chennai


    ReplyDelete
  7. Great article and thanks for sharing your article its a very informative for me so check here php web developer london | hire laravel developer

    ReplyDelete
  8. Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital information. 
    Click here:
    angularjs training in rajajinagar
    Click here:
    angularjs training in marathahalli

    ReplyDelete
  9. Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging

    DevOps online Training|DevOps Training in USA

    ReplyDelete

  10. Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.


    AWS Training in BTM Layout |Best AWS Training in BTM Layout

    AWS Training in Marathahalli | Best AWS Training in Marathahalli


    ReplyDelete
  11. can you offer guest writers to write content for you? I wouldn’t mind producing a post or elaborating on some the subjects you write concerning here. Again, awesome weblog!
    safety courses in chennai

    ReplyDelete
  12. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got a good knowledge.
    safety course in chennai

    ReplyDelete
  13. This is one of the best posts that I've ever seen; you may include some more ideas in the same theme. I'm still waiting for some interesting thoughts from your side in your next post.
    seo services in UK
    web design development company in UK
    graphic design

    ReplyDelete
  14. I really like the dear information you offer in your articles. I’m able to bookmark your site and show the kids check out up here generally. Im fairly positive theyre likely to be informed a great deal of new stuff here than anyone
    Microsoft Azure online training
    Selenium online training
    Java online training
    Python online training
    uipath online training

    ReplyDelete
  15. Untuk Nilai Winrate 90%, Untuk mendapatkan Kombinasi kartu Jackpot sakong adalah sebuah Hal yang mudah. Maka dari itu Cara Mudah Mendapatkan Jackpot
    asikqq
    dewaqq
    sumoqq
    interqq
    pionpoker
    bandar ceme
    hobiqq
    paito warna terlengkap
    Syair HK

    ReplyDelete
  16. Thanks for sharing the great content. It will helps a lot.

    Thanks Again.

    Web Development Company India

    ReplyDelete
  17. ExcelR provides data science course in pune. It is a great platform for those who want to learn and become a data science Course. Students are tutored by professionals who have a degree in a particular topic. It is a great opportunity to learn and grow.


    data science course in pune
    data science Course
    data scientist course in pune with placement
    data scientist course in pune

    ReplyDelete
  18. You really make it look so natural with your exhibition however I see this issue as really something which I figure I could never understand. It appears to be excessively entangled and incredibly expansive for me.
    business analytics course in hyderabad

    ReplyDelete