Clockwork and Laravel
Consisting of a server-side component which can easily be installed from packagist using composer.
So what does clockwork actually do? It allows you to view lots of helpful information such as the timeline, raw database queries that are executed (very helpful if you're using a ORM) and session data.
Setting up Clockwork
"itsgoingd/clockwork": "v1.5"to the require section of your
- If you're using the Laravel framework:
'Clockwork\Support\Laravel\ClockworkServiceProvider'to the providers array in
- Run the following artisan command from the root of your project
php artisan config:publish itsgoingd/clockwork --path vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/config/(this will just copy the config file to
- Install the chrome extension
- Refresh the page
And there you go! Don't forget to ensure Clockwork isn't run on your production servers (the config file we published in step 2.2 might be helpful here).