2017 © Pedro Peláez
 

library ctype-compat

Compatibility for those who have disabled ctype

image

backendtea/ctype-compat

Compatibility for those who have disabled ctype

  • Saturday, April 28, 2018
  • by BackEndTea
  • Repository
  • 1 Watchers
  • 2 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Ctype Compat

Build Status Licence Version Downloads, (*1)

This Package has been deprecated, please use symfony/polyfill-ctype instead., (*2)

A package to make sure ctype functions still work, even if a php version is used that was compiled with --disable-ctype. If ctype is enabled this package will do nothing, if ctype is disabled this package will provide these functions. Instead of crashing when they can't be found., (*3)

The only requirement is php 5.3+, (*4)

Installation

Composer

Simply run the following command:, (*5)

$ composer require backendtea/ctype-compat

Manually

Download the src/ctype.php file, and include it within your project., (*6)

Usage

By installing the package through composer you are automatically using it, no configuration required., (*7)

If this package is manually added to the project include_once it in a bootstrap file, or simply where it is needed., (*8)

Versioning

This project follows Semantic Versioning 2.0.0, which means that any breaking change of the public wil result in a major version up. Anything marked @internal can be changed at any time and should not be relied on., (*9)

Although this is currently in a 0.* version, and is therefore allowed to have BC breaking changes in minor releases, we will attempt to reduce breaking changes to an absolute minimum. The 0.* version mainly indicates that it has not seen major usage., (*10)

Limitations

Normal ctype functions are locale dependent, these versions are slightly 'dumber', and may therefore not give the expected result if it is dependent on locale., (*11)

Contributing

If this package shows unexpected behaviour please report a github issue. If you wish to create a pull request, please read our Contributing guide, (*12)

The Versions

28/04 2018

dev-master

9999999-dev

Compatibility for those who have disabled ctype

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

polyfill compatibility compat ctype

28/04 2018

v0.1.2

0.1.2.0

Compatibility for those who have disabled ctype

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

polyfill compatibility compat ctype

25/04 2018

v0.1.1

0.1.1.0

Compatibility for those who have disabled ctype

  Sources   Download

MIT

The Requires

  • php ^5.3 || ^7.0

 

polyfill compatibility compat ctype

23/04 2018

v0.1.0

0.1.0.0

Compatability for those who have disabled it

  Sources   Download

MIT

The Requires

  • php ^5.3||^7.0