Posted on May 20, 2015 | By Matt Stauffer
Warning: This post is over a year old. I don’t always update old posts with new information, so some of this information may be out of date.
I’m often writing here about features in the latest version of Laravel. You might be wondering, how do I install the latest version if I want to try it out?
Disclaimer: If you do this, you’re going to be installing an under-development, almost- guaranteed-to-have-bugs version of Laravel. Things will break, and you can’t expect any customer support until it’s released.
The simplest option is to just to use Composer to install a fresh app from the
$ composer create-project laravel/laravel your-project-name-here dev-develop
If you need to upgrade, it’s a little more complex, because you might find dependency issues, and you won’t have the upgrade guide to show you what changes you need to make to your files. But if you’re willing to risk it:
- Update the
minimum-stabilityproperty in your
dev. If it doesn’t exist, just add it to the bottom of
- Update the
laravel/frameworkversion to be the version you want to use. So, if you’re running
5.0and want to try out
5.1, update it to be:
- Composer update
- Fix things that break because you don’t have an upgrade guide available for you yet
That’s it! Enjoy!
Comments? I’m @stauffermatt on Twitter
Source link https://mattstauffer.com/blog/installing-an-under-development-version-of-laravel