Maslosoft Whitelist
Quick Install
composer require maslosoft/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.
Whitelist
PHP Code whitelister