Download the PHP package maplesnow/laravel-monolog-config without Composer

On this page you can find all versions of the php package maplesnow/laravel-monolog-config. 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 laravel-monolog-config

Introduction

This package provides a simple way to configure monolog in Laravel.
This makes it a cinch to configure these handlers, allowing you to mix and match them to customize your application's log handling.
Project development with reference to Astromic/laravel-monlog-config .


Installation

  1. Require this package with composer using the following command:

  2. After updating composer, add the service provider to the providers array in config/app.php

    Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

  3. Publish the configuration for monolog using the following command:

  4. Use the application's configureMonologUsing method in your bootstrap/app.php like this

    Refer laravel custom-monolog-configuration

Configuration

All of the configuration for your application's logging system is housed in the config/logging.php configuration file. enable is the trigger to control your application's log channels active or disabled.

Name Description Handler
single writing log as like as laravel single channel StreamHandler
daily writing log as like as laravel daily channel RotatingFileHandler
syslog writing log as like as laravel syslog channel SyslogHandler
errorlog writing log as like as laravel errorlog channel ErrorLogHandler
mail sending a mail report some urgent exception SwfitMailHandler
redis writing log to redis RedisHandler
redisFilter writing log to redis depends on level and date RedisFilterHandler

Usage

You may write information to the logs using the laravel's Log facade.The logger provides the eight logging levels: emergency, alert, critical, error, warning, notice, info and debug

If you need to output custom information, you need to define the content to be output under an array of extra for the key.


All versions of laravel-monolog-config with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
illuminate/support Version ~5.0
monolog/monolog Version ^1.21
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 maplesnow/laravel-monolog-config contains the following files

Loading the files please wait ....