Download the PHP package checklogs/php-sdk without Composer

On this page you can find all versions of the php package checklogs/php-sdk. 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 php-sdk

CheckLogs PHP SDK

Latest Version Total Downloads License

SDK PHP officiel pour CheckLogs.dev - Un système puissant de surveillance des logs.

Installation

Utilisation Rapide

Fonctions Utilitaires

Fonctionnalités

✅ Simple et rapide - Intégration en 2 minutes
✅ Mécanisme de retry automatique
✅ Child loggers avec contexte hérité
✅ Mesure de performance intégrée
✅ Gestion d'erreurs complète
✅ Fonctions utilitaires pratiques
✅ Compatible PHP 7.4+ et 8.x

Configuration

Niveaux de Log

Child Loggers

Mesure de Performance

Fonctions Utilitaires Avancées

Gestion d'Erreurs

Statistiques

Exemples d'Intégration

Laravel

Symfony

Application Vanilla PHP

Configuration Avancée

Variables d'Environnement

Logger Global

API Reference

CheckLogsLogger

Méthode Description
__construct($apiKey, $options) Créer un logger
info($message, $context) Log niveau info
error($message, $context) Log niveau error
warning($message, $context) Log niveau warning
debug($message, $context) Log niveau debug
critical($message, $context) Log niveau critical
child($context) Créer un child logger
time($id, $message) Démarrer un timer
getStats() Obtenir les statistiques
flush($timeout) Envoyer tous les logs en attente

Fonctions Utilitaires

Fonction Description
createLogger($apiKey, $options) Créer un logger
createClient($apiKey, $options) Créer un client
quickLog($apiKey, $message, $context) Log rapide info
quickError($apiKey, $message, $context) Log rapide error
measureExecutionTime($callback, $logger, $name) Mesurer une fonction
setupGlobalErrorHandling($logger) Gérer les erreurs globales
formatMessage($template, $data) Formater avec template

Requirements

License

MIT License - voir le fichier LICENSE pour plus de détails.

Support


Quick Start Guide

  1. Installer : composer require checklogs/php-sdk
  2. Utiliser :

  3. Configurer : Ajouter vos options selon vos besoins
  4. Déployer : Vos logs apparaissent automatiquement sur CheckLogs.dev

All versions of php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
guzzlehttp/guzzle Version ^7.0
ext-json Version *
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 checklogs/php-sdk contains the following files

Loading the files please wait ...