2017 © Pedro Peláez
 

symfony-bundle slugify-bundle

Provides static method to convert strings to slugs and twig filter.

image

eschmar/slugify-bundle

Provides static method to convert strings to slugs and twig filter.

  • Sunday, April 24, 2016
  • by eschmar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 178 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SlugifyBundle

Provides static method to convert strings to slugs as well as a twig filter for symfony. If you only need the static class, you'll find it here., (*1)

Install

Composer (Packagist):, (*2)

composer require eschmar/slugify-bundle ~v2.0 # Symfony Flex
composer require eschmar/slugify-bundle ~v1.0 # Symfony 2

app/Appkernel.php:, (*3)

new Eschmar\SlugifyBundle\EschmarSlugifyBundle(),

Usage

use Eschmar\SlugifyBundle\Util\Slug;
$test = Slug::ify("String to be slugified");
// results in $test == "string-to-be-slugified"

Twig Extension

{{ "String to be slugified"|slugify }}

License

MIT License, (*4)

The Versions

24/04 2016

dev-master

9999999-dev https://github.com/eschmar/slugify-bundle

Provides static method to convert strings to slugs and twig filter.

  Sources   Download

MIT

The Requires

 

symfony slug slugify

24/04 2016

v1.0.0

1.0.0.0 https://github.com/eschmar/slugify-bundle

Provides static method to convert strings to slugs and twig filter.

  Sources   Download

MIT

The Requires

 

symfony slug slugify