Add a standard LoggerInterface type hint to your PHP classes so any PSR-3-compatible logger can be injected at runtime.
Write a reusable PHP library that supports logging without forcing users to depend on a specific logging tool.
This repository is not an actual logging tool. It defines a standard interface that describes what a logger should look like in PHP applications. The idea is that different PHP projects can agree on a shared contract for logging so that any library or application can swap out one logging solution for another without changing the surrounding code. The standard is called PSR-3, and it was produced by the PHP Framework Interoperability Group, a group of PHP project maintainers who collaborate on shared technical standards. By depending on this interface rather than a specific logger, your code stays compatible with many different logging libraries that implement the same contract. Installation is handled via Composer, which is the standard PHP package manager. Once installed, you can type-hint against the LoggerInterface in your own classes, and then inject whichever concrete logger you prefer at runtime. The README is brief and the package is intentionally minimal because its only job is to define the interface, not to provide the logging logic itself.
← php-fig on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.