Download the PHP package zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php without Composer
On this page you can find all versions of the php package zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php
More information about zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php
Files in zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php
Package dumb-artifact-for-multi-level-contextual-parsing-in-php
Short Description An unnecessarily complex tool that replaces patterns through multi-level contextual parsing in PHP. Dumb, yet somehow useful
License MIT
Informations about the package dumb-artifact-for-multi-level-contextual-parsing-in-php
Dumb Artifact for Multi-Level Contextual Parsing in PHP
An unnecessarily complex tool that performs multi-level contextual text replacements in PHP. Useful for transforming text inside nested or scoped contexts while skipping comments and handling escapes.
Installation
Require the package with Composer (replace your-vendor/your-repo with the repository name you publish on GitHub/Packagist):
Note: locally the package is autoloaded via the
vendor/autoload.phpgenerated by Composer.
Namespace and autoloading
This library uses PSR-4 autoloading. The base namespace is DumbContextualParser\ and maps to the src/ directory.
Example class: DumbContextualParser\ContextualReplaceText
Basic usage example
Notes
- The repository package name (
zhalker/dumb-artifact-for-multi-level-contextual-parsing-in-php) can stay as-is for GitHub/Packagist; the PHP namespace used in code isDumbContextualParser\. - Consider adding tests (PHPUnit) and an
examples/directory with runnable examples.
License
MIT