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.
Table of contents
Download checklogs/php-sdk
More information about checklogs/php-sdk
Files in checklogs/php-sdk
Download checklogs/php-sdk
More information about checklogs/php-sdk
Files in checklogs/php-sdk
Vendor checklogs
Package php-sdk
Short Description SDK PHP officiel pour CheckLogs.dev - Système de surveillance des logs
License MIT
Homepage https://github.com/checklogsdev/php-sdk
Package php-sdk
Short Description SDK PHP officiel pour CheckLogs.dev - Système de surveillance des logs
License MIT
Homepage https://github.com/checklogsdev/php-sdk
Please rate this library. Is it a good library?
Informations about the package php-sdk
CheckLogs PHP SDK
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
- PHP 7.4+ ou PHP 8.x
- ext-json (généralement inclus)
- GuzzleHTTP 7.0+ (installé automatiquement)
License
MIT License - voir le fichier LICENSE pour plus de détails.
Support
- Documentation : https://docs.checklogs.dev
- Issues : GitHub Issues
- Email : [email protected]
Quick Start Guide
- Installer :
composer require checklogs/php-sdk -
Utiliser :
- Configurer : Ajouter vos options selon vos besoins
- Déployer : Vos logs apparaissent automatiquement sur CheckLogs.dev
All versions of php-sdk with dependencies
PHP Build Version
Package Version
The package checklogs/php-sdk contains the following files
Loading the files please wait ...