Skip to content

jhmilan/squalo-laravel

Repository files navigation

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.

About

A laravel package to send messages to Squalo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages