$ composer require itsgoingd/clockwork --dev
If you are running the latest Laravel version, congratulations you are done!
By default, Clockwork will only be available in debug mode, you can change this and other settings in the configuration file. Use the vendor:publish
Artisan command to publish the configuration file into your config directory.
If you prefer to use a Facade, add following to your config/app.php
:
'aliases' => [
...
'Clockwork' => Clockwork\Support\Laravel\Facade::class,
]
Note: If you are using Laravel route cache, you will need to refresh it using the route:cache
Artisan command.
To interact with the data collected by Clockwork, you will need to
- install the Chrome extension
- or the Firefox add-on
- or use the web UI
http://your.app/__clockwork