dev-master
9999999-dev https://github.com/BananaBb/cakephp-querylogFor cakephp print out query log
MIT
The Requires
- php >=5.3.0
- composer/installers *
by BananaBb
cakephp query lastquery
For cakephp print out query log
This project for help you to print out the query of method in cakephp., (*1)
This repository should be installed in the same way as any other plugin., (*2)
cd <work folder>/app/Plugin git clone git://github.com/BananaBb/cakephp-querylog.git QueryLog
This plugin on the Packagist., (*3)
composer require bananabb/cakephp-querylog
Add plugin load to your project, (*4)
cd <work folder>/app/Config/bootstrap.php CakePlugin::load('QueryLog');
Usage of this function, (*5)
class ClassName extends ClassExtend { public $components = array('QueryLog.Logger'); . . . . $this->Logger->main(Model); // List all query in this model $this->Logger->main(Model, SearchParamater); // List keyword search query in this model
BananaBb, (*6)
For cakephp print out query log
MIT
cakephp query lastquery