2017 © Pedro PelĂĄez
 

symfony-bundle uuid-twig-extension-bundle

Symfony twig extension bundle to use uuid function (based on ramsey/uuid bundle)

image

uegmobile/uuid-twig-extension-bundle

Symfony twig extension bundle to use uuid function (based on ramsey/uuid bundle)

  • Monday, June 18, 2018
  • by pablonunez
  • Repository
  • 1 Watchers
  • 1 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

uuid-twig-extension-bundle

Symfony twig extension bundle to use uuid function (based on ramsey/uuid bundle), (*1)

installation

Through composer in your symfony project:, (*2)

composer require uegmobile/uuid-twig-extension-bundle

In Symfony <= 3, Then, register the bundle in your AppKernel by adding the following line:, (*3)

new UEGMobile\UUIDTwigExtensionBundle\UUIDTwigExtensionBundle()

In Symfony >= 4, Then, register the bundle in your bundle.php file by adding the following line:, (*4)

UEGMobile\UUIDTwigExtensionBundle\UUIDTwigExtensionBundle::class => ['all' => true]

twig extensions

uuid function:

  • link function to ramsey/uuid

Examples

Print new UUID in a twig template:, (*5)

{{ uuid() }}

The Versions

18/06 2018

dev-master

9999999-dev https://github.com/UEGMobile/UEGMobileUUIDTwigExtensionBundle

Symfony twig extension bundle to use uuid function (based on ramsey/uuid bundle)

  Sources   Download

MIT

The Requires

 

by Pablo Nuñez

twig uuid bundle symfony

18/06 2018

v1.0.0

1.0.0.0 https://github.com/UEGMobile/UEGMobileUUIDTwigExtensionBundle

Symfony twig extension bundle to use uuid function (based on ramsey/uuid bundle)

  Sources   Download

MIT

The Requires

 

by Pablo Nuñez

twig uuid bundle symonfy