Skip to content

Commit

Permalink
Bumped version to 1.14.3, updated changelog and readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
itsgoingd committed Aug 30, 2017
1 parent 0181480 commit 60a17e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.14.3
- added support for Laravel 5.5 package auto-discovery (thanks Omranic)
- added automatic registration of the Laravel middleware (no need to edit your `Http/Kernel.php` anymore, existing installations don't need to be changed)
- updated Laravel artisan clockwork:clean command for Laravel 5.5 (thanks rosswilson252)
- fixed crash when retrieving all requests from Sql storage (thanks pies)

1.14.2
- fixed missing imports in Doctrine data source (thanks jenssegers)

Expand Down
2 changes: 1 addition & 1 deletion Clockwork/Clockwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Clockwork implements LoggerInterface
/**
* Clockwork version
*/
const VERSION = '1.14.2';
const VERSION = '1.14.3';

/**
* Array of data sources, these objects provide data to be stored in a request object
Expand Down
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ This extension provides out of the box support for Laravel, Slim 2 and CodeIgnit

To install latest version simply add it to your `composer.json`:

```javascript
"itsgoingd/clockwork": "~1.14"
```bash
composer require
```

### Laravel

Once Clockwork is installed, you need to register Laravel service provider, in your `config/app.php`:
If you are using an older version of Laravel, you'll need to register the service provider, in your `config/app.php`:

```php
'providers' => [
Expand All @@ -29,15 +29,7 @@ Once Clockwork is installed, you need to register Laravel service provider, in y
]
```

When using Laravel 5, you need to add Clockwork middleware, in your `app/Http/Kernel.php`:

```php
protected $middleware = [
\Clockwork\Support\Laravel\ClockworkMiddleware::class,
...
]
```
Note: If you are using Laravels route caching you will need to clear the cache using the `php artisan route:cache` as Clockwork adds its own routes for retrieving the data.
Note: If you are using Laravel's route caching you will need to clear the cache using the `php artisan route:cache` as Clockwork adds its own routes for retrieving the data.

By default, Clockwork will only be available in debug mode, you can change this and other settings in the configuration file. Use the following Artisan command to publish the configuration file into your config directory:

Expand Down

0 comments on commit 60a17e8

Please sign in to comment.