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

dev-master 2017-10-10 12:13 UTC

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 date and the currentdate both allow for zone parameter any string to be passed. This allows the user to enter zone names like Europe/Zurich instead of +0100. The reason we allow this is because offsets like +0100 don't encode information about the daylight saving time, which is often needed.