Download the PHP package muhamadhhassan/laramost without Composer
On this page you can find all versions of the php package muhamadhhassan/laramost. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download muhamadhhassan/laramost
More information about muhamadhhassan/laramost
Files in muhamadhhassan/laramost
Download muhamadhhassan/laramost
More information about muhamadhhassan/laramost
Files in muhamadhhassan/laramost
Vendor muhamadhhassan
Package laramost
Short Description This package includes a Monolog handler and formatter for Mattermost to use in a Laravel log channel
License MIT
Package laramost
Short Description This package includes a Monolog handler and formatter for Mattermost to use in a Laravel log channel
License MIT
Please rate this library. Is it a good library?
Informations about the package laramost
Laramost
Laramost is a Monolog handler channel for Laravel that allows you to send log records to a mattermost channel.
Installation
Levels
Monolog levels are used to set the message color and icon
| Level Name | Level Value | Color | Emoji |
|---|---|---|---|
| DEBUG | 100 | #91C4EB | :mag: |
| INFO | 200 | #91C4EB | :information_source: |
| NOTICE | 250 | #99cc33 | :memo: |
| WARNING | 300 | #ffcc00 | :warning: |
| ERROR | 400 | #cc3300 | :bug: |
| CRITICAL | 500 | #cc3300 | :x: |
| EMERGENCY | 600 | #cc3300 | :rotating_light: |
Usage
In Laravel Apps
In your config/logging.php add the mattermost channel to the channels array:
Then simply, using Laravel Log facade:
In any PHP Apps
Both Will send the following message to your mattermost channel:
Warning: When you log to the
mattermostchannel make sure that the level is greater than or equals the one defined inconfig/logging.php
All versions of laramost with dependencies
PHP Build Version
Package Version
Requires
monolog/monolog Version
>=2.8 <= 3.2
guzzlehttp/guzzle Version ^7.4
composer/ca-bundle Version ^1.3
guzzlehttp/guzzle Version ^7.4
composer/ca-bundle Version ^1.3
The package muhamadhhassan/laramost contains the following files
Loading the files please wait ...