We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice if you can filter the ip address based on different rules, given as array.
An example would be:
$options = array( 'ip' => array('192.1.12.1', '192.1.15.5', '8.8.8.8') ); $app->get('/api/myEndPoint',function ($req, $res, $args) { //Your amazing route code })->add(new \DavidePastore\Slim\RestrictRoute\RestrictRoute($options));
See also: Respect/Validation#775
The text was updated successfully, but these errors were encountered:
Closed with #5 .
Sorry, something went wrong.
DavidePastore
No branches or pull requests
It would be nice if you can filter the ip address based on different rules, given as array.
An example would be:
See also: Respect/Validation#775
The text was updated successfully, but these errors were encountered: