maslosoft / whitelist
PHP Code White List
1.0.5
2022-05-20 12:27 UTC
Requires
- php: >= 7.1
- maslosoft/cli-shared: *
- maslosoft/embedi: *
- psr/log: ^1|^2|^3
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-19 22:55:30 UTC
README
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