Skip to content

Commit

Permalink
add spatie/activitylog
Browse files Browse the repository at this point in the history
  • Loading branch information
uyab committed Nov 5, 2015
1 parent 66449a9 commit c5da259
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"require": {
"php" : ">=5.5.9",
"illuminate/support": "~5.1",
"edvinaskrucas/notification": "5.*"
"edvinaskrucas/notification": "5.*",
"spatie/activitylog": "2.*",
},
"require-dev": {
"phpunit/phpunit" : "4.*"
Expand Down
5 changes: 5 additions & 0 deletions src/SupportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ public function boot()
*/
public function register()
{
// notification
$this->app->register('Krucas\Notification\NotificationServiceProvider');
AliasLoader::getInstance()->alias('Notification', 'Krucas\Notification\Facades\Notification');

// activity log
$this->app->register('Spatie\Activitylog\ActivitylogServiceProvider');
AliasLoader::getInstance()->alias('Activity', 'Spatie\Activitylog\ActivitylogFacade');
}

/**
Expand Down

0 comments on commit c5da259

Please sign in to comment.