2017 © Pedro Peláez
 

library auditor

Auditor package

image

midnite81/auditor

Auditor package

  • Thursday, July 28, 2016
  • by midnite81
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Auditor Latest Stable Version Total Downloads Latest Unstable Version License

Auditor is a PHP package to retrieve audit json data from Laravel 5 and present it in table format., (*1)

Please note this is a work in progress., (*2)

Installation

This package requires PHP 5.6+, and includes a Laravel 5 Service Provider., (*3)

To install through composer include the package in your composer.json., (*4)

"midnite81/auditor": "0.0.*"

Run composer install or composer update to download the dependencies or you can run composer require midnite81/auditor., (*5)

Laravel 5 Integration

To use the package with Laravel 5 firstly add the Auditor service provider to the list of service providers in app/config/app.php., (*6)

'providers' => [

  Midnite81\Auditor\AuditorServiceProvider::class

];

Basic Usage

Please note this is a work in progress package. Documentation is not yet complete., (*7)

use Midnite81\Auditor\Contracts\Auditor;

public function index(Auditor $auditor)
{

    $data = MyModel::orderBy('created_at', desc')->get(['data']);

    $auditTable = $auditor->setData($data)->sort(['UserId', 'Priorty'])->render();

    return view('some.view', ['auditTable' => $auditTable]);

}

The Versions

28/07 2016

dev-master

9999999-dev

Auditor package

  Sources   Download

MIT

The Requires

 

by Simon Rogers

laravel auditor

20/07 2016

v0.0.2

0.0.2.0

Auditor package

  Sources   Download

MIT

The Requires

 

by Simon Rogers

laravel auditor

12/07 2016

v0.0.1

0.0.1.0

Auditor package

  Sources   Download

MIT

The Requires

 

by Simon Rogers

laravel auditor