Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Psr Testlogger Laravel Package

colinodell/psr-testlogger

A lightweight PSR-3 TestLogger for unit tests. Capture log records in memory, inspect messages, contexts, and levels, and make assertions without external handlers. Helpful for verifying expected logging behavior in PHPUnit and other test suites.

View on GitHub
Deep Wiki
Context7
1.3.1

Added

  • Added explicit [@param](https://github.com/param) tag for $message (#8)
  • Added PHP 8.4 and 8.5 to test matrix (#7)
1.3.0

Changed

  • Level arguments for hasRecord*() methods are now optional (#5)

Fixed

  • Fixed PHP 8.2 compatibility when handling exception type records (#4)
1.2.0

Added

  • Added support for custom string- and int-based log levels (#2)

Changed

  • Minimum PHP version is now 8.0

Fixed

  • Fixed log() not throwing the correct exception when an invalid log level is passed

Removed

  • Removed support for PHP 7.4
1.1.0

Fixed

  • Fixed incorrect parameters in magic method docblocks
  • Fixed missing string type to hasRecordThatPasses()
1.0.0

Initial commit!

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata