webuilder240 / instant-cake
关于此包的最新版本(dev-master)没有可用的许可证信息。
InstantCake插件用于CakePHP
dev-master
2015-06-07 11:09 UTC
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-09-18 08:20:57 UTC
README
InstantCake是 CakePHP 内置的服务器插件,包括 CakePHP3.0 的自定义 php.ini 文件
安装
您可以使用 composer 将此插件安装到您的 CakePHP 应用程序中。
安装 composer 包的推荐方法是
composer require webuilder240/instant-cake
配置
在 bootstrap.php 中设置 InstantCake
config/bootstrap.php
<?php // Only try to load DebugKit in development mode // Debug Kit should not be installed on a production system if (Configure::read('debug')) { Plugin::load('DebugKit', ['bootstrap' => true]); Plugin::load('InstantCake'); }
用法
# -c options is php.ini file location
bin/cake instant_cake -c php.ini