PHPackages                             codersvn/activity\_logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. codersvn/activity\_logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

codersvn/activity\_logger
=========================

Vicoders Activity Logger

1.0.0(7y ago)0254PHP

Since Jan 10Pushed 7y ago2 watchersCompare

[ Source](https://github.com/vicodersvn/LaravelActivityLog)[ Packagist](https://packagist.org/packages/codersvn/activity_logger)[ RSS](/packages/codersvn-activity-logger/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Activity Log For Laravel 5
==========================

[](#activity-log-for-laravel-5)

- [Installation](#installation)
    - [Composer](#composer)
    - [Service Provider](#service-provider)
    - [Migration File](#migration-file)
    - [ActivityLogable Contract](#activitylogable-contract)

Installation
------------

[](#installation)

This package is very easy to set up. There are only couple of steps.

### Composer

[](#composer)

```
composer require codersvn/laravel_activity_log

```

### Service Provider

[](#service-provider)

Add the package to your application service providers in `config/app.php` file.

```
'providers' => [

    /*
     * Laravel Framework Service Providers...
     */
    Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
    Illuminate\Auth\AuthServiceProvider::class,
    ...

    /**
     * Third Party Service Providers...
     */
    Vicoders\ActivityLog\Providers\ActivityLogServiceProvider::class,

],
```

### Migration File

[](#migration-file)

Publish the package config file and migrations to your application. Run these commands inside your terminal.

```
php artisan vendor:publish --provider="Vicoders\ActivityLog\Providers\ActivityLogServiceProvider" --tag=migrations

```

And also run migrations.

```
php artisan migrate

```

> This uses the default users table which is in Laravel. You should already have the migration file for the users table available and migrated.

### ActivityLogable Contract

[](#activitylogable-contract)

```
