October 25th, 2013, 07:59 AM
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 :
And I dont think anything is getting installed.
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
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
What do I do?
October 25th, 2013, 09:04 AM
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
October 26th, 2013, 03:22 AM
Laravel's docs say that thing about composer right in the beginning.