PHP Package: timacdonald/log-fake

Log-fake is a PHP library for generating fake log data for testing purposes with ease and flexibility.

Current Version: 2.4.0
Last Updated: 2025-03-10
PHP Requirement: ^8.2
Dependencies:
phpunit/phpunit
fzaninotto/faker
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Log-fake is a versatile PHP library developed by timacdonald to aid in generating fake log data for testing scenarios. With a focus on simplicity and efficiency, this library allows developers to simulate log entries effortlessly. Whether you need to mimic error logs or debug information, log-fake provides a straightforward solution. Enhance your testing processes by leveraging log-fake's functionality today.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.4.0

Download Download v2.4.0

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/timacdonald/log-fake/2.4.0/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.4.1/loader.php';
require_once 'libs/fzaninotto/faker/1.9.2/loader.php';

use Timacdonald\LogFake\LogFake;

$obj = new LogFake();
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.