BSD Ports

www/pear-twig 1.29.0 DragonFly

Flexible, fast, and secure template engine for PHP

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
pear, www
Package size
91.9 KiB, 571.6 KiB installed

Description

Twig is a modern template engine for PHP.

* Fast: Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum.

* Secure: Twig has a sandbox mode to evaluate untrusted template code. This allows Twig to be used as a template language for applications where users may modify the template design.

* Flexible: Twig is powered by a flexible lexer and parser. This allows the developer to define its own custom tags and filters, and create its own DSL.

In the other systems

The newest version among them is 1.29.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/pear-twig1.29.0 newestnone known-[email protected]-
FreeBSDwww/pear-twig1.29.0 newestnone known-[email protected]-
HardenedBSDwww/pear-twig1.29.0 newestno data-[email protected]-
GhostBSDwww/pear-twig1.29.0 newestno data-[email protected]-

Install

Binary package:

pkg install php81-pear-twig-twig

From DPorts:

cd /usr/dports/www/pear-twig && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
php82-pear-twig-twig-1.29.0, php83-pear-twig-twig-1.29.0, php84-pear-twig-twig-1.29.0