End.

composer生产环境不安装开发依赖

# 开发依赖
composer require --dev "redis" "1.0"

# 生产环境update
composer update --no-dev
End.