This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

PHP Code White List

1.0.4 2020-03-09 12:03 UTC

This package is auto-updated.

Last update: 2021-05-09 14:31:08 UTC


PHP Code White List

Latest Stable Version License Scrutinizer Code Quality Code Coverage

Quick Install

composer require maslosoft/whitelist


Full Whitelist Documentation

Allow only necessary PHP functions

Whitelist allows you to define allowed PHP functions, variable, classes, and forbid the rest. By default it also forbids unsafe constructs, like eval, variable variables names, variable methods names.


PHP Code whitelister