#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    37
    Rep Power
    2

    Need Help Installing Laravel


    I'm trying real hard to learn to use Laravel Framework.
    But, I'm stuck right in the beginning. I'm just not understanding how to install the framework and include it.
    Plus there are no pre-installed copies for download. And, I googled a lot but could not find any project source made using laravel.

    Anyways, all I need is some help. Could someone provide me with an installed copy of laravel? Or help me install it?

    I installed composer for windows and I downloaded laravel from here : https://codeload.github.com/laravel/laravel/zip/master

    Now, I extracted the archive and navigated to the folder containing composer.json through command prompt.
    After that, I executed composer install command.

    This is the output that it shows :
    Code:
    Warning: This development build of composer is over 30 days old. It is recommend
    ed to update it by running "C:\ProgramData\Composer\bin\composer.phar self-updat
    e" to get the latest version.
    Loading composer repositories with package information
    zlib_decode(): data error
    http://packagist.org could not be fully loaded, package information was loaded f
    rom the local cache and may be out of date
    
    
    
      [Composer\Downloader\TransportException]
      The "http://packagist.org/p/laravel/laravel$5b350a7b69bf221da439ce6c922730b
      734193cc4f3d4d8970d276b489b302bcd.json" file could not be downloaded (HTTP/
      1.1 404 Not Found)
    
    
    
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-c
    ustom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--opt
    imize-autoloader]
    And I dont think anything is getting installed.

    What do I do?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Dec 2004
    Posts
    2,974
    Rep Power
    375
    i think majority of the frameworks work like this:

    you have a system folder (which you should not touch).
    you also have an "app" folder where you put in your models/controllers etc..
    and then you have an index file which links to system folder to use all framework functionality.

    i would start by going to laravel and following their docs
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Posts
    37
    Rep Power
    2
    Laravel's docs say that thing about composer right in the beginning.

IMN logo majestic logo threadwatch logo seochat tools logo