2017 © Pedro Peláez
 

library slugifier

A full-featured, simple, clean and pure functional implementation for creating slugs

image

keyvanakbary/slugifier

A full-featured, simple, clean and pure functional implementation for creating slugs

  • Monday, August 3, 2015
  • by keyvanakbary
  • Repository
  • 3 Watchers
  • 61 Stars
  • 59,947 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 8 Versions
  • 5 % Grown

The README.md

Slugifier

Build Status, (*1)

A full-featured, simple, clean and pure functional implementation for creating slugs. No third party libraries or extensions needed., (*2)

Installation

``` bash composer require keyvanakbary/slugifier, (*3)


## Usage ```php use slugifier as s; s\slugify('JúST å fëw wørds'); // just-a-few-words s\slugify('Αυτή είναι μια δοκιμή'); // ayti-einai-mia-dokimi s\slugify('Wikipedia style', '_'); // wikipedia_style

Modifiers

Sometimes the default character map is not accurate enough. Slugifier supports custom modifiers, (*4)

s\slugify('Pingüino', '-', ['ü' => 'u']); // pinguino

Some language iso code modifiers are supported, (*5)

s\slugify('Estaĵo', '-', s\MOD['eo']); // estajxo

s\slugify('Örnektir', '-', s\MOD['tr']); // ornektir

The Versions

03/08 2015

dev-master

9999999-dev

A full-featured, simple, clean and pure functional implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

url slug slugify slugifier urlize

03/08 2015

v4.0.0

4.0.0.0

A full-featured, simple, clean and pure functional implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

url slug slugify slugifier urlize

03/08 2015

v3.0.0

3.0.0.0

A full-featured, simple and clean implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

url slug slugify slugifier urlize

11/07 2015

v2.1.0

2.1.0.0

A full-featured, simple and clean implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

url slug slugify slugifier urlize

11/06 2015

v2.0.1

2.0.1.0

Just a simple implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

url slug slugify slugifier

10/06 2015

v2.0.0

2.0.0.0

Just a simple implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

url slug slugify slugifier

08/01 2015

v1.0.1

1.0.1.0

Just a simple implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

url slug slugify slugifier

27/12 2014

v1.0.0

1.0.0.0

Just a simple implementation for creating slugs

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

url slug slugify slugifier