Install the Clockwork library via Composer.
$ composer require itsgoingd/clockwork
If you are running the latest Laravel version, congratulations you are done!
For older Laravel versions see additional instructions below.
Note: If you are using the Laravel route cache, you will need to refresh it using the
route:cache Artisan command.
By default, Clockwork will only be available in debug mode, you can change this and other settings in the configuration file.
You can publish the configuration file using the
vendor:publish artisan command to:
- set when should Clockwork be enabled
- enable or disable the web UI
- configure how the request metadata is stored
- set what data should be collected
- and more
Older Laravel versions
For Laravel versions older than 5.5, you'll need to register the service provider, in your
'providers' => [
If you'd like to use the Facade, add following to your
'aliases' => [
'Clockwork' => Clockwork\Support\Laravel\Facade::class,