2017 © Pedro PelĂĄez
 

library activity-log

Register all user's information in your Laravel 5 application

image

carlosrgzm/activity-log

Register all user's information in your Laravel 5 application

  • Friday, October 28, 2016
  • by carlosrgzm
  • Repository
  • 1 Watchers
  • 2 Stars
  • 93 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

ActivityLog

Register all user's information in your Laravel 5 application., (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Installation

  1. Add carlosrgzm/activity-log to composer.json., (*3)

    "carlosrgzm/activity-log": "1.0.*", (*4)

  2. Run composer update to pull down the latest version., (*5)

  3. Now open up app/config/app.php and add the service provider to your providers array., (*6)

    'providers' => array( Carlosrgzm\ActivityLog\ActivityLogServiceProvider::class, ),, (*7)

  4. Add the alias to the app.php section., (*8)

    'aliases' => array( 'ActivityLog' => Carlosrgzm\ActivityLog\Models\ActivityLog::class,, ),, (*9)

Configuration

Run php artisan vendor:publish to generate the migrations and the configuration file in your config folder., (*10)

Usage

For using this package you can add this code in your templates, (*11)

$act = new ActivityLog;, (*12)

$data = new ActivityLogData($action, $contentType, $contentId, $details, $userId);, (*13)

$act->log($data);, (*14)

All params for ActivityLogData() are optional. The 'user_id' is automatically set to the current user if you have 'auto_set_user_id' => true in your activitylog.php config file., (*15)

You should review the config/activitylog.php to be sure all params are correct., (*16)

The Versions

28/10 2016

dev-master

9999999-dev

Register all user's information in your Laravel 5 application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Carlos RodrĂ­guez

28/10 2016

v1.0.10

1.0.10.0

Register all user's information in your Laravel 5 application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Carlos RodrĂ­guez

28/10 2016

v1.0.9

1.0.9.0

Register all user's information in your Laravel 5 application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Carlos RodrĂ­guez

17/03 2016

v1.0.8

1.0.8.0

Register all user's information in your Laravel 5 application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Carlos RodrĂ­guez

17/03 2016

v1.0.7

1.0.7.0

Register all user's information in your Laravel 5 application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Carlos RodrĂ­guez

17/03 2016

v1.0.6

1.0.6.0

Register all user's information in your Laravel 5 application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Carlos RodrĂ­guez

17/03 2016

v1.0.2

1.0.2.0

Register all user's information in your Laravel 5 application

  Sources   Download

MIT

The Requires

 

The Development Requires

by Carlos RodrĂ­guez