Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Twig Extensions Laravel Package

sonata-project/twig-extensions

Provides a set of useful Twig extensions for Sonata projects, adding extra filters, functions, and helpers to enhance templates. Install via Composer and integrate with Twig to simplify common view tasks and formatting.

View on GitHub
Deep Wiki
Context7
2.6.0

Added

Removed

2.5.0

Added

Fixed

2.4.0

Added

2.3.0

Added

2.2.0

Added

2.1.0

Removed

2.0.0
  • No significant changes
1.12.0

Added

1.11.0

Removed

2.0.0-alpha1

See UPGRADE-2.0.md for all changes

1.10.0

Deprecated

1.9.1
1.9.0

Added

Removed

1.8.0

Added

1.7.0

Added

Changed

Deprecated

Fixed

1.6.0

Added

1.5.1

Added

1.5.0

Added

1.4.2

Fixed

1.4.1

Fixed

1.4.0

Added

  • [#90] Add Sonata\Twig\FlashMessage\FlashManager::addFlash(string $type, string $message): void to add flash message directly by FlashManager (@wbloszyk)
  • [#90] Add Sonata\Twig\FlashMessage\FlashManagerInterface to allow create custom FlashManager (@wbloszyk)
  • [#90] Add twig function sonata_flashmessage_class - get css class from flash message type in Twig (@wbloszyk)
  • [#100] Added Sonata\Twig\Bridge\Symfony\SonataTwigSymfonyBundle. (@phansys)

Changed

Deprecated

  • [#99] Deprecated sonata_template_deprecate twig tag and sonata.twig.deprecated_template_extension service. (@franmomu)
  • [#99] Deprecated DeprecatedTemplateExtension, DeprecatedTemplateNode and DeprecatedTemplateTokenParser classes. (@franmomu)

Fixed

  • [#90] Fix working FlashManager as StatusClassRenderer (@wbloszyk)
  • [#100] Fixed Flex recipe implementation through SonataTwigSymfonyBundle alias. (@phansys)

Removed

  • [#101] Remove support of Symfony < 3.4 and < 4.4 (@franmomu)
1.3.1

Fixed

  • [#92] Fix Sonata\Twig\Status\StatusClassRendererInterface implementation in Sonata\Twig\FlashMessage\FlashManager (@wbloszyk)
  • [#92] Fix Sonata\Twig\Extension\StatusRuntime to working with Sonata\Twig\FlashMessage\FlashManager again, after add type hints (@wbloszyk)
  • [#94] CSS Class now returned for flash messages (@benrcole)
0.1.1
1.3.0

Removed

  • remove return type hints in Sonata\Twig\FlashMessage\FlashManager::handlesObject()
  • remove return type hints in Sonata\Twig\FlashMessage\FlashManager::getStatusClass()
  • remove return type hints in Sonata\Twig\FlashMessage\StatusClassRendererInterface::handlesObject()
  • remove return type hints in Sonata\Twig\FlashMessage\StatusClassRendererInterface::getStatusClass()
  • remove return type hints in Sonata\Form\Type\BaseStatusType::configureOptions()
0.1.0
0.1-BETA
1.2.0

Added

  • Added support for twig/twig:^3.0
  • Added flashmessage.css from CoreBundle
1.1.1

Fixed

  • Fixed wrong service ids
  • Add missing form_type parameter in configuration
  • Make twig templates discoverable automatically
1.1.0

Added

  • Added support for Symfony 5

Changed

  • Migrated to Twig namespaces
1.0.0

First release since the split from sonata-project/core-bundle

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
directorytree/privacy-filter-classifier
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi