PHP Package: sonata-project/twig-extensions

The Twig Extensions library by sonata-project enhances the functionality of Twig templates for Symfony applications.

Current Version: 2.5.0
Last Updated: 2024-09-09
PHP Requirement: >=7.1
Dependencies: twig/twig, symfony/framework-bundle
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The Twig Extensions library by sonata-project provides a comprehensive set of functions, filters, and tags to extend the capabilities of Twig templates in Symfony projects. It offers a wide range of features to streamline template development and improve code readability.

🔗 View on GitHub

Download Latest Version: 2.5.0

Download Download v2.5.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/sonata-project/twig-extensions/2.5.0/autoload.php';

use Sonata\TwigExtensions\Extension\SomeClass;
use Twig\Extension\SomeOtherClass;


$obj = new Sonata\TwigExtensions\Extension\SomeClass();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.