Download the PHP package zhalker/php-literal without Composer
On this page you can find all versions of the php package zhalker/php-literal. 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 php-literal
php-literal
A PHP library that allows using backtick-delimited literals with embedded expressions, similar to JavaScript template literals. This library processes PHP code and enables dynamic inclusion of files with expressions inside backticks.
Installation
You can install php-literal via Composer:
Example Usage
How It Works
- Backtick literals: Strings delimited by backticks (``) are parsed and evaluated, similar to JavaScript template literals.
- Expressions: Embedded expressions inside curly braces (
{$expression}) are evaluated and replaced at runtime.
License
This library is licensed under the MIT License.
Contributing
If you find any bugs or want to improve the library, feel free to open an issue or submit a pull request. Contributions are welcome!
All versions of php-literal with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php Version ^1.2
zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php Version ^1.2
The package zhalker/php-literal contains the following files
Loading the files please wait ...