libsieve-php is a library to manage and modify sieve (RFC5228) scripts. It contains a parser for the sieve language (including extensions) and a client for the managesieve protocol. It is written entirely in PHP 8+.
This would allow custom extensions to be loaded without having to modify the library.
SieveKeywordRegistry is now no longer a singleton. When parsing sieve multiple times, keeping a reference to SieveParser object would allow you to avoid parsing the extension xml multiple times.
This would allow custom extensions to be loaded without having to modify the library.
SieveKeywordRegistry
is now no longer a singleton. When parsing sieve multiple times, keeping a reference to SieveParser object would allow you to avoid parsing the extension xml multiple times.