Download the PHP package 1eonardo-dev/monitoring-client-legacy without Composer

On this page you can find all versions of the php package 1eonardo-dev/monitoring-client-legacy. 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 monitoring-client-legacy

Monitoring Platform Client (Legacy)

A PHP 5.6 client for reporting events (crashes, exceptions, logs) to Monitoring Platform, for legacy projects that cannot yet run the modern package.

Packagist Version PHP Version Downloads

Warning: PHP 5.6 has been end-of-life since 2018 and no longer receives security patches. This package exists only to provide backward compatibility for legacy projects. The recommended path is to migrate to PHP 7.4+ and use the 1eonardo-dev/monitoring-client package instead.

The two packages

If you are on PHP 7.4+, use the modern package instead:

Package PHP Framework adapters Type hints
1eonardo-dev/monitoring-client 7.4+ Laravel & Yii2 Yes
1eonardo-dev/monitoring-client-legacy 5.6+ None (pure PHP) No

Requirements

Installation

Quick start

Differences from the modern package

API

MonitoringClient

Method Description
captureException(Exception $e, array $context = array(), $level = null) Report an exception.
captureMessage($message, $level = 'info', array $context = array()) Report a log message.
captureEvent(Event $event) Report a custom event.
send(array $data) Low-level send with a raw payload.

DTOs

Custom endpoint path

By default events are sent to {baseUrl}/api/v1/events. You can change the path via the path argument (or the path key in Config::fromArray):

Custom transport

Implement LeonardoDev\Monitoring\Legacy\Transport\Transport to use your own HTTP client:

Tests

Changelog

See CHANGELOG.md.

License

MIT. See LICENSE.


All versions of monitoring-client-legacy with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 1eonardo-dev/monitoring-client-legacy contains the following files

Loading the files please wait ...