Skip to content
👍 Easy integrate Logz.io into Laravel 5.6+ Application
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fix missing LogzioServiceProvider class Jul 17, 2018
tests Fix coding style and Update changelog Apr 17, 2018
.editorconfig The first commit Apr 17, 2018
.gitattributes Update Dec 22, 2018
.gitignore The first commit Apr 17, 2018
.travis.yml Remove TravisCI test with Laravel 5.5 Dec 22, 2018
CHANGELOG.md Fix missing LogzioServiceProvider class Jul 17, 2018
CONTRIBUTING.md The first commit Apr 17, 2018
LICENSE.md The first commit Apr 17, 2018
README.md Update Dec 22, 2018
composer.json Update Dec 22, 2018
phpcs.xml.dist The first commit Apr 17, 2018
phpunit.xml.dist The first commit Apr 17, 2018

README.md

Introduction

Latest Version Software License Build Status Coverage Status Total Downloads Requires PHP

Easy integrate Logz.io into Laravel 5.6+ Application

Main features

Make logzio driver for integrate Logz.io into Laravel Application

Requirements

  • php >=7.1.3
  • Laravel 5.6+

Installation

Begin by pulling in the package through Composer.

$ composer require oanhnn/laravel-logzio

Usage

In config/logging.php file, config you log with driver logzio

<?php
return [
    // ...
	'custom' => [
	    'driver' => 'logzio',
	    'name'   => 'channel-name',
	    'token'  => 'logz-access-token',
	    'type'   => 'https-bulk',
	    'ssl'    => true,
	    'level'  => 'info',
	    'bubble' => true,
	],
	// ...
];

In your code using

Log::channel('custom')->info('Some message');

See more in Laravel document

Changelog

See all change logs in CHANGELOG

Testing

$ git clone git@github.com/oanhnn/laravel-logzio.git /path
$ cd /path
$ composer install
$ composer phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email to Oanh Nguyen instead of using the issue tracker.

Credits

License

This project is released under the MIT License.
Copyright © 2018 Oanh Nguyen.

You can’t perform that action at this time.