2017 © Pedro Peláez
 

library bacon-string-utils

BaconStringUtils contain utitilies to work with strings.

image

bacon/bacon-string-utils

BaconStringUtils contain utitilies to work with strings.

  • Saturday, October 11, 2014
  • by DASPRiD
  • Repository
  • 8 Watchers
  • 30 Stars
  • 326,928 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 7 Versions
  • 8 % Grown

The README.md

BaconStringUtils

Master: Build Status Coverage Status, (*1)

Introduction

BaconStringUtils contain utitilies to work with strings. The currently included components are:, (*2)

  • BaconStringUtils\Slugifier URI-friendly slug generator., (*3)

    You sometimes need to display a text value in a URI, like for instance the title of an article in a blog URL, like those generated by wordpress. This component helps you to generate such a usable slug. It interally makes use of the BaconStringUtils\UniDecoder component also provided by this library., (*4)

  • BaconStringUtils\UniDecoder US-ASCII transliterations of Unicode text., (*5)

    It often happens that you have non-Roman text data in Unicode, but you can't display it -- usually because you're trying to show it to a user via an application that doesn't support Unicode, or because the fonts you need aren't accessible. You could represent the Unicode characters as "???????" or " BA A0q0...", but that's nearly useless to the user who actually wants to read what the text says., (*6)

    What this component provides is a method, 'decode(...)' that takes Unicode data and tries to represent it in ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F). The representation is almost always an attempt at transliteration -- i.e., conveying, in Roman letters, the pronunciation expressed by the text in some other writing system., (*7)

    For example "$decoder->decode('北亰')" returns "Bei Jing"., (*8)

    This is a PHP port of the UniDecode Python module, which on the other hand is a port of the Text::Unidecode Perl module by Sean M. Burke sburke@cpan.org., (*9)

The Versions

11/10 2014

dev-master

9999999-dev https://github.com/Bacon/BaconStringUtils

BaconStringUtils contain utitilies to work with strings.

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

11/10 2014

1.1.0

1.1.0.0 https://github.com/Bacon/BaconStringUtils

BaconStringUtils contain utitilies to work with strings.

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

11/10 2013

1.0.3

1.0.3.0 https://github.com/Bacon/BaconStringUtils

BaconStringUtils contain utitilies to work with strings.

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

11/10 2013

1.0.2

1.0.2.0 https://github.com/Bacon/BaconStringUtils

BaconStringUtils contain utitilies to work with strings.

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

23/04 2013

dev-develop

dev-develop https://github.com/Bacon/BaconStringUtils

BaconStringUtils contain utitilies to work with strings.

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

23/04 2013

1.0.1

1.0.1.0 https://github.com/Bacon/BaconStringUtils

BaconStringUtils contain utitilies to work with strings.

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

02/04 2013

1.0.0

1.0.0.0 https://github.com/Bacon/BaconStringUtils

BaconStringUtils contain utitilies to work with strings.

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3