2017 © Pedro Peláez
 

library ascii

A library to validate strings and transliterate to ascii encoding

image

bfunky/ascii

A library to validate strings and transliterate to ascii encoding

  • Friday, March 9, 2018
  • by bfunky
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,691 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 439 % Grown

The README.md

Ascii

Scrutinizer Code Quality Build Status Code Coverage, (*1)

A library to validate strings and transliterate to ascii encoding, (*2)

Usage as static class

Validate if given value is a valid ascii string

//returns true
$result = Ascii::isValid('this string is valid');

//returns false
$result = Ascii::isValid('cette chaîne est valide');

Transliterate a string

//print `cette chaine est valide`
echo Ascii::transliterate('cette chaîne est valide');

Usage creating an instance

Validate if given value is a valid ascii string

$ascii = new Ascii();

//returns true
$result = $ascii->isValid('this string is valid');

//returns false
$result = $ascii->isValid('cette chaîne est valide');

Transliterate a string

$ascii = new Ascii();
//print `cette chaine est valide`
echo $ascii->transliterate('cette chaîne est valide');

The Versions

09/03 2018

dev-master

9999999-dev

A library to validate strings and transliterate to ascii encoding

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

encode ascii transliterate iconv alternative url encode link encode remove accents special chars

09/03 2018

1.0.5

1.0.5.0

A library to validate strings and transliterate to ascii encoding

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

encode ascii transliterate iconv alternative url encode link encode remove accents special chars

08/03 2018

1.0.4

1.0.4.0

A library to validate strings and transliterate to ascii encoding

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

encode ascii transliterate iconv alternative url encode link encode remove accents special chars

08/03 2018

1.0.3

1.0.3.0

A library to transliterate and check strings to ascii encoding

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

encode ascii transliterate iconv alternative url encode link encode remove accents special chars

08/03 2018

1.0.2

1.0.2.0

A library to transliterate and check strings to ascii encoding

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

encode ascii transliterate iconv alternative url encode link encode remove accents special chars

15/02 2018

1.0.1

1.0.1.0

A library to transliterate and check strings to ascii encoding

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

encode ascii transliterate iconv alternative url encode link encode remove accents special chars

15/02 2018

1.0.0

1.0.0.0

A library to transliterate and check strings to ascii encoding

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

encode ascii transliterate iconv alternative url encode link encode remove accents special chars