A PHP 8.0+ Attributes Based HTTP Routing. Can be used for all cases, MVC and Middleware - Class/Method/Function
https://packagist.org/packages/emma/http-manager https://github.com/debascoguy/Http-Manager Set-up your .htaccess file. For development on localhost using xamp/wamp. You can copy this sample htaccess code below into notepad and save the...
Request Mapping The `RequestMapping` class is a PHP attribute that can be used to define routes and HTTP request methods for a class, method, or...
Http Request Factory The above class is a factory class for creating and managing HTTP requests in PHP. It is responsible for creating the Request...
Http Response Factory The above class is a factory class for creating and managing HTTP response in PHP. The ResponseFactory class is a PHP class...
Router PathFinder : The `PathFinder` class is responsible for scanning and registering routes from classes, methods, and functions in the application. The `PathFinderFactory` class is...
The RouteRegistry class is a singleton that allows registration and retrieval of routable objects or functions. Usage Example: use \Emma\Http\Mappings\PatchMapping; $routables = [ IndexController::class,...