This plugin integrates the awesome itsgoingd/clockwork with October CMS.
Clockwork is a browser extension, providing tools for debugging and profiling your October CMS applications. Clockwork captures and visualizes the following data
- HTTP requests
- Performance timeline of application execution cycle
- Database queries
- Cache hits and misses
- Log entries
- Session data
- Authenticated user information
- Outgoing emails
Usage
After the plugin installation is complete add the laravel.dont-discover
part to the extra
section of your project's composer.json
like this:
"extra": { "merge-plugin": { "include": [ "plugins/*/*/composer.json" ], "recurse": true, "replace": false, "merge-dev": false }, "laravel": { "dont-discover": [ "itsgoingd/clockwork" ] } }
Then download the browser extension to get insights into your October CMS installation:
- install the Chrome extension
- or the Firefox add-on
- or use the web UI
http://your.app/__clockwork
All Clockwork features are adapted to work with October CMS. For more information on how to use the clock
helper
function refer to the official Website.
Configuration
By default, Clockwork will only be available in debug mode, you can change this and more settings in the configuration file.
The plugin provides file based configuration options where you can overwrite all the Clockwork settings. Refer to the October documentation on how to overwrite these settings.
-
Jesper Andersen
Found the plugin useful on 7 Feb, 2019
Nice plugin, I really like it. You should consider making a Task Schedule that clears the Storage/clockwork though. In a few days, mine reached 16GB.
Either that or make an option in backend settings, where you can enter the frequency of deleting the .json files.
-
1.0.2 |
Added twig functions (thanks to @damsfx) Sep 17, 2019 |
---|---|
1.0.1 |
Initial release of Clockwork Dec 04, 2018 |