Componette

Componette

tacoberu

tacoberu / latte-filters

Latte |filter supporting filtering.

download-cloud-line composer require tacoberu/latte-filters

Latte filters

Latte |filter supporting filtering.

Installation

The best way to install tacoberu/latte-filters is using Composer:

$ composer require tacoberu/latte-filters

Then register the extension in the config file:

# app/config/config.neon
latte:
    extensions:
        - Taco\Latte\FilterLatteExtension

Usage

{foreach ($items|filter: fn($x) => strlen($x->name)) as $row}
	...
{/foreach}

License

Latte filters is under the MIT license. See the LICENSE file for details.

No release at this moment. Try to create first one.

price-tag-2-line

Badges

guide-fill

Dependencies

php (>=7.4.0)
Componette Componette felix@nette.org