laravel5.0
https://laravel.com/docs/5.0/installation
composer global require "laravel/installer=~1.1"
composer create-project laravel/laravel {directory} "5.0.*" --prefer-dist
laravel5.5
Laravel数据库操作的三种方式
http://blog.csdn.net/zls986992484/article/details/52824962
安装lnmp环境 lnmp.org,自带composer
安装laravel
composer global require "laravel/installer"
https://laravel.com/docs/5.5
创建项目
laravel new blog
如果提示权限错误
http://blog.csdn.net/qq_36939335/article/details/68068050
打开php禁用相关函数
数据库链接
http://blog.csdn.net/zjiang1994/article/details/52585710
redis
[root@localhost blog]# composer require predis/predis
Using version ^1.1 for predis/predis
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing predis/predis (v1.1.1): Downloading (100%)
predis/predis suggests installing ext-phpiredis (Allows faster serialization and deserialization of the Redis protocol)
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Package manifest generated successfully.
[root@localhost blog]# find . -name "predis*"
./vendor/predis
./vendor/predis/predis
教程
https://www.kancloud.cn/jdxia/laravel5note/388573
https://fsdhub.com/books/laravel-essential-training-5.5
http://www.golaravel.com/post/2016-ban-laravel-xi-lie-ru-men-jiao-cheng-yi/
http://laravelacademy.org/post/6947.html
http://blog.csdn.net/qq_36939335/article/details/68068050