2017 © Pedro PelĂĄez
 

library logs

Logs/events + API - Laravel

image

dev4born/logs

Logs/events + API - Laravel

  • Thursday, February 1, 2018
  • by Dev4Born
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Logs - Laravel

Latest Version on Packagist ![Software License][ico-license] Total Downloads, (*1)

Install

Via Composer, (*2)

``` bash $ composer require dev4born/logs, (*3)


## Integration In the `$providers` array add the `service providers` for this package.

dev4born\logs\LogsLaravelServiceProvider::class, (*4)


Create config file `config/logs.php` and add the following lines.

/** *
* Warning! You can only grant one permissions from 2 available *
* @package dev4born\logs *
*/, (*5)

return [, (*6)

'settings' => [

/**
 *  
 *  Secret key - unique address for accessing logs
 *  
 *  http://{your-project}/laravel/{secret-key}/logs
 *  
 */

    'secret' => '',

/**
 *  
 *  Allowed permissions (middleware) for accessing logs
 *  
 *  http://{your-project}/laravel/view/logs
 *  
 */   

    'middleware' => [

    ],

],

];, (*7)


You can specify 2 permissions (secret key or middleware) for accessing logs. ## Usage Secret key http://{your-project}/laravel/{your-secret-key}/logs Middleware http://{your-project}/laravel/view/logs ## JSON API Secret key http://{your-project}/laravel/{your-secret-key}/logs/json Middleware http://{your-project}/laravel/view/logs/json **Output** There are no problems.

{'error':'Everything functions properly.'}, (*8)


There was an error.

{'error':'Perhaps an error occurred - check the logs/events.'}, (*9)


Messages can be implemented in the dashboard. ## Changelog Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. ## Testing ``` bash $ composer test

Security

If you discover any security related issues, please email: milosz.nowak@dev4born.pro instead of using the issue tracker., (*10)

Credits

License

The MIT License (MIT). Please see License File for more information., (*11)

Screenshots

Dashboard, (*12)

The Versions

01/02 2018

dev-master

9999999-dev https://github.com/dev4born/logs

Logs/events + API - Laravel

  Sources   Download

MIT

The Requires

 

laravel log logging log-viewer dev4born

14/12 2017

v1.0.5

1.0.5.0 https://github.com/dev4born/logs

Logs/events + API - Laravel

  Sources   Download

MIT

The Requires

 

laravel log logging log-viewer dev4born

13/12 2017

1.0.0

1.0.0.0 https://github.com/dev4born/logs

Logs/events + API - Laravel

  Sources   Download

MIT

The Requires

 

laravel log logging log-viewer dev4born