Home > Backend Development > PHP Tutorial > laravel5.0升级到5.1

laravel5.0升级到5.1

WBOY
Release: 2016-06-20 12:54:48
Original
1110 people have browsed it

1、修改composer.json。将其中的"laravel/framework": "5.0.*"修改为"laravel/framework": "5.1.*";

2、在bootstrap下创建目录cache,在cache目录中放入一个.gitignore文件,内容为:

*

!.gitignore

3、修改bootstrap下的autoload.php文件,将$compiledPath = __DIR__.'/../vendor/compiled.php';修改为:$compiledPath = __DIR__.'/cache/compiled.php';

4、运行composer update;


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template