Projects I maintain
A suite of opinionated libraries and frameworks with the intent of easily building production-ready applications on top of Amp. Provides a foundation for wiring your dependency graph, configuring your app settings, emitting semantic events, creating reusable Plugins, and other utilities when creating async applications. Frameworks built on top of that foundation enable building feature-rich HTTP and CLI applications.
With a focus on integration testing AsyncUnit aims to be a well-tested, easy-to-use testing framework with first-class awareness of the Amp Loop. Utilizes PHP8 Attributes to compile your test suite information into a set of runnable test instructions. With the capacity to keep long-running connections to a database or HTTP server open, AsyncUnit is deal for your integration testing. It can be used in conjunction with amphp/phpunit-util or as both your unit and integration testing framework.
Building a modern web app you've undoubtedly had to deal with Cross Origin Requests. This library aims to make dealing with these type of requests for Amp http-server applications easy to deal with. Providing an array-based configuration and an object-oriented, fluent API for defining CORs makes this library flexible enough to work with however you prefer to handle this concern.