Twig wrapper with extensions
Go to file
flash c8a9f2974e Updated Sasae libraries. 2024-01-04 02:13:42 +00:00
src More documentation fixes. 2023-08-24 23:24:45 +00:00
tests More convenient constructor for SasaeEnvironment 2023-08-24 22:57:41 +00:00
tools Initial import. 2023-08-24 22:31:36 +00:00
.gitattributes Initial import. 2023-08-24 22:31:36 +00:00
.gitignore Initial import. 2023-08-24 22:31:36 +00:00
LICENCE Initial import. 2023-08-24 22:31:36 +00:00
README.md Initial import. 2023-08-24 22:31:36 +00:00
VERSION Updated Index library. 2023-11-20 19:09:35 +00:00
composer.json Documentation adjustment. 2023-08-24 23:19:22 +00:00
composer.lock Updated Sasae libraries. 2024-01-04 02:13:42 +00:00
phpdoc.xml Initial import. 2023-08-24 22:31:36 +00:00
phpstan.neon Initial import. 2023-08-24 22:31:36 +00:00
phpunit.xml Initial import. 2023-08-24 22:31:36 +00:00

README.md

Sasae

Sasae is a simple wrapper around some of Twig's functionality as well as making Twig\Environment a little bit more immutable.

While it's not a lot of extras, I often implement the added functionality across projects. The source file structure is meant to be similar to Twig's own.

Requirements and Dependencies

Sasae currently targets PHP 8.2.

No additional requirements and/or dependencies at this time.

Versioning

Sasae versioning will follows the Semantic Versioning specification v2.0.0.

Changes to minimum required PHP version, major Twig library releases that cause incompatibilities and other major overhauls to Sasae itself that break compatibility will be reasons for incrementing the major version. Updates to Sasae functionality or adjustments to fit new Twig functionality will cause increment the minor version. Bug fixes and inconsequential Twig library updates will increment the patch version.

Sasae also depends on Index, but its versioning depends on the minimum PHP version and should thus be fairly inconsequential.

Previous major versions may be supported for a time with backports depending on what projects of mine still target older versions of PHP.

The version is stored in the root of the repository in a file called VERSION and can be read out within Sasae using Sasae\SasaeEnvironment::getSasaeVersion().

Contribution

By submitting code for inclusion in the main Sasae source tree you agree to transfer ownership of the code to the project owner. The contributor will still be attributed for the contributed code, unless they ask for this attribution to be removed. This is to avoid intellectual property rights traps and drama that could lead to blackmail situations. If you do not agree with these terms, you are free to fork off.

Licencing

Sasae is available under the BSD 3-Clause Clear License, a full version of which is enclosed in the LICENCE file.