Download the PHP package vladzimir/f3-relay without Composer
On this page you can find all versions of the php package vladzimir/f3-relay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vladzimir/f3-relay
More information about vladzimir/f3-relay
Files in vladzimir/f3-relay
Download vladzimir/f3-relay
More information about vladzimir/f3-relay
Files in vladzimir/f3-relay
Vendor vladzimir
Package f3-relay
Short Description Simple middleware dispatcher for Fat-Free Framework
License GPL-3.0
Homepage https://github.com/vladzimir/f3-relay
Package f3-relay
Short Description Simple middleware dispatcher for Fat-Free Framework
License GPL-3.0
Homepage https://github.com/vladzimir/f3-relay
Please rate this library. Is it a good library?
Informations about the package f3-relay
f3-relay
Simple middleware relay and controller proxy hooks for Fat-Free Framework (F3).
- works with PHP 8.3+
- tested target: F3 3.9
Installation
- Method 1:
composer require vladzimir/f3-relay - Method 2: copy
lib/*into your projectlib/(or any F3 autoloaded path)
Quick start
Conditional middleware (matchers)
Each pipe item may contain matchers first and middleware last.
Available matchers:
MatcherPath(pattern, flags = 0)MatcherHive(key, pattern)MatcherPattern(pattern, flags = 0, source = 'PATH')
Use ! prefix in pattern for negative match, e.g. !/api/*.
Controller hooks
ControllerProxy lets you install global before/after hooks for controllers resolved via F3 CONTAINER.
Notes:
beforeruns before controllerbeforeroute()afterruns after controllerafterroute()- returning
falsefrom a hook stops further processing
All versions of f3-relay with dependencies
PHP Build Version
Package Version
The package vladzimir/f3-relay contains the following files
Loading the files please wait ...