maslosoft / whitelist
PHP Code White List
Installs: 888
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
pkg:composer/maslosoft/whitelist
Requires
- php: >= 7.1
- maslosoft/cli-shared: *
- maslosoft/embedi: *
- psr/log: ^1|^2|^3
Requires (Dev)
This package is auto-updated.
Last update: 2025-09-20 01:05:35 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