2017 © Pedro Peláez
 

library checkpoint-php

Create whitelist and blacklist for the url route.

image

katsew/checkpoint-php

Create whitelist and blacklist for the url route.

  • Wednesday, December 14, 2016
  • by katsew
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Checkpoint

This is a module that create both whitelist and blacklist for url., (*1)

Usage

$checkpoint = new Checkpoint();
$checkpoint->setSafeBorders(['/path/which/always/pass/through']);
$checkpoint->setCheckpoints(['/path/which/not/pass/through', '/blacklisted']);

$can_pass_through = $checkpoint->canPassThrough('/hoge'); // will return true.
$can_pass_through = $checkpoint->canPassThrough('/blacklisted'); // will return false!

The Versions

14/12 2016

dev-master

9999999-dev https://github.com/katsew/checkpoint-php

Create whitelist and blacklist for the url route.

  Sources   Download

MIT

The Development Requires

validate routing

14/12 2016

v0.1.0

0.1.0.0 https://github.com/katsew/checkpoint-php

Create whitelist and blacklist for the url route.

  Sources   Download

MIT

The Development Requires

validate routing

14/12 2016

dev-develop

dev-develop https://github.com/katsew/checkpoint-php

Create whitelist and blacklist for the url route.

  Sources   Download

MIT

The Development Requires

validate routing