PHP Package: laminas/laminas-log

Laminas-log is a versatile PHP logging library with advanced features for developers.

Current Version: 2.17.1
Last Updated: 2024-12-05
PHP Requirement: ~8.1.0 || ~8.2.0 || ~8.3.0
Dependencies:
laminas/laminas-logger
php-fig/log
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas-log is a powerful PHP logging library designed for efficient log management, log rotation, and log customization. It offers various log handlers and formatters to suit diverse project requirements. With Laminas-log, developers can easily integrate logging functionality into their applications, ensuring comprehensive tracking and monitoring capabilities. This library supports multiple log levels, log filtering, and extensibility options, making it an ideal choice for modern PHP projects.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.17.1

Download Download v2.17.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/laminas/laminas-log/2.17.1/loader.php';
require_once 'libs/laminas/laminas-logger/{lib_version}/loader.php';
require_once 'libs/php-fig/log/3.0.2/loader.php';

use Laminas\Log\Logger;
use Laminas\Log\Writer\Stream;

$obj = new Logger();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.