Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 5, 2015
1 parent 9ee842b commit ee83c9e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ composer require spatie/activitylog
This service provider must be registered.
```php

// Laravel 4: app/config/app.php
// Laravel 5: config/app.php

// config/app.php

'providers' => [
'...',
Expand All @@ -32,16 +32,15 @@ This service provider must be registered.

You'll also need to publish and run the migration in order to create the db-table.
```
php artisan migrate:publish spatie/activitylog
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="migrations"
php artisan migrate
```


Activitylog also comes with a facade, which provides an easy way to call it.
```php

// Laravel 4: app/config/app.php
// Laravel 5: config/app.php
// config/app.php

'aliases' => [
...
Expand All @@ -52,9 +51,9 @@ Activitylog also comes with a facade, which provides an easy way to call it.

Optionally you can publish the config file of this package.
```
php artisan config:publish spatie/activitylog
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="config"
```
The configuration will be written to ```app/config/packages/spatie/activitylog```. The options provided are self explanatory.
The configuration will be written to ```config/activitylog.php```. The options provided are self explanatory.


## Usage
Expand Down

0 comments on commit ee83c9e

Please sign in to comment.