Download the PHP package paysera/lib-logging-extra-bundle without Composer

On this page you can find all versions of the php package paysera/lib-logging-extra-bundle. 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 lib-logging-extra-bundle

Logging extra bundle

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

Symfony bundle for further Monolog, Sentry and Graylog integration.

Why?

Monolog already offers integration with both Sentry and Graylog. This bundle re-uses those integrations, adding the following features:

Also recommended configuration is given to allow nice synergy between Graylog and Sentry.

Installation

Register installed bundles in your kernel or bundles.php file, if not installed automatically by flex.

Configuration

This is recommended configuration for all three bundles. This ensures that:

Usage

Log with INFO level and above to get messages in Graylog.

Log with ERROR level and above to get messages in Sentry.

Log with DEBUG level to get messages in Graylog in case any error occurs in the same request / process. To find those, start with error in Sentry and search messages in Graylog by provided correlation_id.

Semantic versioning

This bundle follows semantic versioning.

Public API of this bundle (in other words, you should only use these features if you want to easily update to new versions):

For example, if only class method is marked with @api, you should not extend that class, as constructor could change in any release.

See Symfony BC rules for basic information about what can be changed and what not in the API. Keep in mind, that in this bundle everything is @internal by default.

Running tests

Contributing

Feel free to create issues and give pull requests.

Running dependencies locally

You'll find Graylog at http://localhost:9001/ and Sentry at http://localhost:9002/.

Open Graylog, login with admin admin, choose System -> Inputs -> GELF UDP -> Launch new input -> input any title and select the node -> Save.

Open Sentry, login with user created by the last command, choose Installation instructions -> Symfony2 -> copy the credentials part (protocol, hostname and port might be missing). Run following command, exchanging HERE_GOES_CREDENTIALS with real credentials:

And run test PHP script:

View logged data in Graylog and Sentry instances. Change the code for further test scenarios or just use Graylog and Sentry to set-up and test your real project.

Cleanup afterwards:


All versions of lib-logging-extra-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8.0
ext-json Version *
graylog2/gelf-php Version ^1.4.2
monolog/monolog Version ^1.24 || ^2.0
sentry/sdk Version ^3.1
sentry/sentry Version ^3.1
sentry/sentry-symfony Version ^4.0
symfony/config Version ^3.4|^4.0|^5.0|^6.0
symfony/dependency-injection Version ^3.4|^4.0|^5.0|^6.0
symfony/expression-language Version ^3.0 || ^4.0 || ^5.0 || ^6.0
symfony/framework-bundle Version ^3.4.26|^4.2.7|^5.0|^6.0
symfony/http-kernel Version ^3.4|^4.0|^5.0|^6.0
symfony/monolog-bundle Version ^3.4|^5.0
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 paysera/lib-logging-extra-bundle contains the following files

Loading the files please wait ....