cspray/annotated-container
Annotated Container is a PHP 8 dependency injection framework, configured with Attributes, for creating an autowired, feature-rich, PSR-11 compliant container.
Checkout articles about this project with the tag annotated-container
cspray/architectural-decision
Architectural Decision Records can be a useful way to detail important details about the decisions regarding your codebase. This library brings those decisions even closer to the codebase by turning them into Attributes. Mark the places in your code that are impacted by the decision to help spread knowledge.
cspray/marked-logs
Add a unique marker to all logs sent through this PSR-3 compatible logger. Use these markers to add new capabilities of tracking and analyzing log records that are related to one another.
Checkout articles about this project with the tag marked-logs
cspray/precision-stopwatch
Utilizing PHP's hrtime() function, precisely time how long PHP operations take. Providing a way to "mark" a point in time you're able to make queries on total time spent and time spent between steps of the process.
cspray/annotated-target
Annotated Target is a static analysis tool that allows you to fetch code constructs targeted by certain Attributes. Provides the underlying functionality that powers cspray/annotated-container and cspray/architectural-decision.
cspray/phinal
Do you think most of your implementations should be final? So do I! With this Psalm plugin you can be sure that all of your concrete classes are marked final. If a scenario presents itself that you should allow a concrete class to be extended you can mark it with the #[AllowInheritance] Attribute, explaining why this implementation should be extended.
cspray/database-test-case
Attempting to solve a hard testing problem, the provided DatabaseTestCase aims to help unit testing code that includes interactions with a database. Providing a way to load data before your test, ensuring your database is in a clean slate, and retrieve data about a database table in your tests.
Checkout articles about this project with the tag database-test-case