Download the PHP package exposuresoftware/slackerlogs without Composer

On this page you can find all versions of the php package exposuresoftware/slackerlogs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package slackerlogs

!!ARCHIVED!!

Laravel has native Slack logging intergrations that are better maintained. Use those!

Slacker-Logs

Provides interface to Slack chat from Laravel/Lumen logging.

Installation

Download

Via Composer

To install via Composer first make sure Composer is installed.
Then need to simply run the command to require the package.
composer require exposuresoftware/slackerlogs

Register with the Container

In order to make using this package you are only required to write a very simple class and register it with your application.

Create a Provider

You Provider class can be named whatever you wish but must extend the ExposureSoftware\SlackLogs\Providers\LoggerProvider class.
This can be as simple as

Where each of the values are set to to the values for your application.
$channel should be the channel name you wish to direct logs to. It should include the # that precedes all Slack channels.
$user is the user that the message will appear to come from. This does not have to be an actual user on your team.
$hook is the webhook your integration will use. Please see the Slack documentation in the link regarding how to set this up and get your webhook.
$level is an the integer value of the log level you wish to report. This and any higher log levels will be sent to Slack. See Monolog\Logger for these values and constants available.
The available log levels are:

DEBUG = 100
INFO = 200
NOTICE = 250
WARNING = 300
ERROR = 400
CRITICAL = 500
ALERT = 550
EMERGENCY = 600

Register the Provider with the application

Add the line to your providers array as follows:

Changing the fully namespaced class to the name of your Provider.


All versions of slackerlogs with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.2
illuminate/log Version ^5.2
illuminate/container Version ^5.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package exposuresoftware/slackerlogs contains the following files

Loading the files please wait ...