Package Data | |
---|---|
Maintainer Username: | jhmilan |
Maintainer Contact: | jhmilan@gmail.com (Jose H. Milán) |
Package Create Date: | 2016-07-26 |
Package Last Update: | 2016-07-26 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-18 03:01:35 |
Package Statistics | |
---|---|
Total Downloads: | 20 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Just a small Laravel5 to send data to Squalo (squalo.jmilan.net).
Via Composer
$ composer require jhmilan/squalo-laravel
Add the service provider to your config.app.php
Jhmilan\SqualoLaravel\SqualoLaravelServiceProvider::class,
Add the facade to your config.app.php
'Squalo' => Jhmilan\SqualoLaravel\Facades\SqualoLaravel::class,
Publish the config file (a new config/SqualoLaravel.php file will be created, populate your .env as per the variables in the file)
php artisan vendor:publish --provider="Jhmilan\SqualoLaravel\SqualoLaravelServiceProvider"
Send images to Squalo very easily. Just use the Squalo facade and call any of the following methods:
Squalo::emergency('My critical message');
Squalo::alert('My alert message');
Squalo::critical('My critical message');
Squalo::error('My error message');
Squalo::warning('My warning message');
Squalo::notice('My notice message');
Squalo::info('My info message');
Squalo::debug('My debug message');
This package is still WIP, no time for tests or good docs yet! sorry
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email jhmilan@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.