jhmilan / squalo-laravel by jhmilan

Send messages to Squalo with Laravel easily
20
2
2
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

SqualoLaravel

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Just a small Laravel5 to send data to Squalo (squalo.jmilan.net).

Install

Via Composer

$ composer require jhmilan/squalo-laravel

Setup

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"

Usage

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');

To-do

This package is still WIP, no time for tests or good docs yet! sorry

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email jhmilan@gmail.com instead of using the issue tracker.

Credits

License

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