Skip to content

ideationnet/action-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Action Resolver

A PSR-15 middleware that uses Fast Route to resolve actions from the request path.

Use with Action Dispatcher to dispatch resolved actions using an Invoker, such as the one provided by PHP-DI.

Configuration

A default configuration is provided for PHP-DI. In addition to the provided configuration, you need to provide an array of routes:

'routes' => [
    [['GET', 'POST'], '/example/{id}', 'action.label'],
],

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages