Skip to content

sidf3ar/executionorder

 
 

Repository files navigation

Execution order in CakePHP

Build Status License Minimum PHP Version Coding Standards

A demo app to display execution order of files and callbacks in a CakePHP 3 app. This can be very useful for knowing if app-, plugin- or other callbacks run in the order one expects them to.

This is an unstable repository and should be treated as an alpha.

Results

See RESULTS.md.

Installation

Download and run composer update.

You should now be able to visit the path to where you installed the app and see the setup traffic lights.

For CLI to work you might have to run chmod +x bin/cake, as well.

Configuration and Usage

Create config/app_local.php from the default template and setup the 'Datasources' and any other configuration relevant for your application.

Run the cake migrations migrate command to have a basic test table (tokens).

Then run it and see the logs output. To build an updated RESULTS.md file, execute bin/cake exec prep after each run to build a TMP/exec.txt from the log output.

Version notice

This branch is only for CakePHP 3 (currently 3.7). For earlier versions please see dereuromark.de/2013/01/22/cakephp-tips.

Feel free to open a 4.x version, I can prepare a 4.x branch for this then.

Contributing

Feel free to add more stuff to it.

About

A demo app to display dispatching and execution order of files and callbacks in a CakePHP 3 app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 89.3%
  • CSS 7.8%
  • Shell 1.7%
  • Batchfile 1.2%