m12u / twig-extensions-bundle
Twig extensions bundle
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:bundle
Requires
- php: >=5.5.9
- twig/extensions: ^1.5
Requires (Dev)
- sensio/distribution-bundle: ^5.0.19
- sensio/framework-extra-bundle: ^5.0.0
- symfony/polyfill-apcu: ^1.0
- symfony/swiftmailer-bundle: ^2.6.4
- symfony/symfony: 3.4.*
- symfony/var-dumper: ^4.0
This package is not auto-updated.
Last update: 2025-04-02 07:00:18 UTC
README
$ composer require m12u/twig-extensions-bundle
Configuration
In your AppKernel.php
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
// ...
new M12U\Bundle\TwigExtensionsBundle\M12UTwigExtentionsBundle(),
// ...
];
// ...
}
Extensions available
Extension | Filters | Functions |
---|---|---|
UcWordsExtension |
ucwords |
|
UcFirstExtension |
ucfirst |