Download the PHP package maximaster/evalue without Composer
On this page you can find all versions of the php package maximaster/evalue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package evalue
Evalue
Store and execute PHP code snippets using Evalue class.
Features
- store PHP code for multiple executions;
- provide context variables during construction and execution;
- support for complex PHP code snippets;
- automatic stripping of
<?php
tags; - variable scope isolation between runs;
Installation
Usage
Basic Usage
With Constructor Context
Complex Code Examples
Context Overriding
Security
⚠️ Warning: This library uses PHP's eval()
function. Only use it with trusted code. Never execute user-provided
code without proper validation and sanitization.
Context Rules
Variable names in the context must follow PHP's variable naming conventions:
- Must start with a letter or underscore
- Can contain letters, numbers, underscores
- Supports extended ASCII characters (e.g.,
π
,área
,über
)
Invalid examples:
Development / Contribution
All versions of evalue with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package maximaster/evalue contains the following files
Loading the files please wait ....