php-extended/php-parser-object

An implementation of the php-extended/php-parser-interface library

Maintainers

Package info

gitlab.com/php-extended/php-parser-object

Homepage

Issues

pkg:composer/php-extended/php-parser-object

Statistics

Installs: 244 765

Dependents: 13

Suggesters: 0

Stars: 0

9.0.1 2026-02-27 08:42 UTC

README

An implementation of the php-extended/php-parser-interface library.

coverage build status

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 ^9

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).