php-extended/php-parser-object

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

4.0.0 2022-05-31 06:54 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. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		...
		"php-extended/php-parser-object": "^3"
		...
	}

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

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