Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dereuromark/executionorder
A demo app to display dispatching and execution order of files and callbacks in a CakePHP app. Try it out!
https://github.com/dereuromark/executionorder
Last synced: about 2 months ago
JSON representation
A demo app to display dispatching and execution order of files and callbacks in a CakePHP app. Try it out!
- Host: GitHub
- URL: https://github.com/dereuromark/executionorder
- Owner: dereuromark
- License: mit
- Created: 2015-01-10T23:00:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T15:42:19.000Z (about 1 year ago)
- Last Synced: 2024-10-11T06:32:58.813Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 158 KB
- Stars: 21
- Watchers: 6
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cakephp - Execution order - A demo app to display the execution order of files, methods and callbacks. (Debugging)
README
# Execution order in CakePHP
[![Build Status](https://api.travis-ci.org/dereuromark/executionorder.svg?branch=master)](https://travis-ci.org/dereuromark/executionorder)
[![License](https://poser.pugx.org/cakephp/app/license.svg)](https://packagist.org/packages/cakephp/app)
[![Minimum PHP Version](http://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg)](https://php.net/)
[![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](https://github.com/php-fig-rectified/fig-rectified-standards)A demo app to **display execution order of files and callbacks in a CakePHP 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](RESULTS.md).
## Installation
Download and run `composer install`.
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 `bin/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 4 (currently 4.4).For earlier versions please see [dereuromark.de/2013/01/22/cakephp-tips](http://www.dereuromark.de/2013/01/22/cakephp-tips/#dispatcher-execution-order)
or check other branches.## Contributing
Feel free to add more stuff to it.