loconox / libsieve
LibSieve is a library to manage and modify sieve (RFC5228) scripts.
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 8
pkg:composer/loconox/libsieve
Requires
- php: >=5.3.9
Requires (Dev)
- phpunit/phpunit: ^6.4
This package is auto-updated.
Last update: 2025-10-29 02:29:19 UTC
README
LibSieve 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 5.
This is a fork from https://github.com/ProtonMail/libsieve-php. It also includes script that that implements MANAGESIEVE from https://lists.sourceforge.net/mailman/listinfo/sieve-php-devel.
Install
composer require loconox/libsieve
Changes from the RFC
- The
dateand thecurrentdateboth allow forzoneparameter any string to be passed. This allows the user to enter zone names likeEurope/Zurichinstead of+0100. The reason we allow this is because offsets like+0100don't encode information about the daylight saving time, which is often needed.