Skip to content

gbirke/php-extensionparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extensionparser is a PHP class for parsing Asterisk extension.conf files.
The parser reads the dial plan file and produces events for each dialplan
"component" (extension number, priority, application, etc) it encounters. 
This is similar to the SAX event model of XML parsing.

This library also contains "Builder" classes that consume the parser events
and classes that represent dial plan objects: Contexts, Extensions,
Applications and Menus. This could be seen as similar to a DOM XML parser 
which returns a finished data structure.

The examples show the interaction between "Builder" classes that consume parser
events and build PHP data structures from them.

License information: All code here is licensed under the BSD license.

About

Parser for Asterisk extension files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages