php-extended / php-parser-object
An implementation of the php-extended/php-parser-interface library
6.1.6
2023-08-21 17:53 UTC
Requires
- php: >=7.4
- php-extended/php-parser-interface: ^6.1
- php-extended/polyfill-php80-stringable: ^1.2
Requires (Dev)
This package is auto-updated.
Last update: 2023-09-21 17:57:18 UTC
README
An implementation of the php-extended/php-parser-interface library.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.phar
from their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-parser-object ^6
Basic Usage
This library provide a single class, the AbstractParser
which is
made to be implemented. Its parse
method must return a single object from
the whole string that its given, and throw a ParseException
if it is
impossibe to do so.
License
MIT (See license file).