Recommend this page to a friend! |
Classes of Yuriy Tkachenko | PHP Person Name Case Corrector | README.md | Download |
|
DownloadNameCase[![Latest Version on Packagist][ico-version]][link-packagist] [![Software License][ico-license]](LICENSE.md) [![Build Status][ico-travis]][link-travis] [![Coverage Status][ico-scrutinizer]][link-scrutinizer] [![Quality Score][ico-code-quality]][link-code-quality] [![Total Downloads][ico-downloads]][link-downloads] [![SensioLabsInsight][ico-insight]][link-insight] Forenames and surnames are often stored either entirely in UPPERCASE or lowercase. This package allows you to convert names into the correct case where possible. Although forenames and surnames are typically stored separately if they do appear in a single string, whitespace-separated, NameCase deals correctly with them. Currently NameCase correctly name cases names which include any of the following:
It correctly deals with names which contain apostrophes and hyphens too. > Warning! This README.md is for version 2.0.x. > If you need PHP 5 compatible version, please use 1.0.x! README.md InstallVia Composer
Usage
Options
Global functionThis package used to have global function
Exclude Post-Nominals
ChangelogPlease see CHANGELOG for more information what has changed recently. Testing & Demo
ContributingPlease see CONTRIBUTING and CONDUCT for details. SecurityIf you discover any security-related issues, please email <yuri.tam.tkachenko@gmail.com> instead of using the issue tracker. AcknowledgementsThis library is a port of the Perl library and owes most of its functionality to the Perl version by Mark Summerfield. I also used some solutions from Ruby version by Aaron Patterson. Any bugs in the PHP port are my fault. CreditsOriginal PERL
Ruby Version:
PHP Version:
LicenseThe MIT License (MIT). Please see License File for more information. [ico-version]: https://img.shields.io/packagist/v/tamtamchik/namecase.svg?style=flat-square [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square [ico-travis]: https://img.shields.io/travis/tamtamchik/namecase/master.svg?style=flat-square [ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/tamtamchik/namecase.svg?style=flat-square [ico-code-quality]: https://img.shields.io/scrutinizer/g/tamtamchik/namecase.svg?style=flat-square [ico-downloads]: https://img.shields.io/packagist/dt/tamtamchik/namecase.svg?style=flat-square [ico-insight]: https://img.shields.io/sensiolabs/i/660fea1e-d105-4064-9caa-f47e8a282f2a.svg?style=flat-square [link-packagist]: https://packagist.org/packages/tamtamchik/namecase [link-travis]: https://travis-ci.org/tamtamchik/namecase [link-scrutinizer]: https://scrutinizer-ci.com/g/tamtamchik/namecase/code-structure [link-code-quality]: https://scrutinizer-ci.com/g/tamtamchik/namecase [link-downloads]: https://packagist.org/packages/tamtamchik/namecase [link-author]: https://github.com/tamtamchik [link-contributors]: ../../contributors [link-insight]: https://insight.sensiolabs.com/projects/660fea1e-d105-4064-9caa-f47e8a282f2a |