library php-country-definite-article
PHP library for adding the definite article 'the' to country names that require it for correct English grammar.
dadeg/php-country-definite-article
PHP library for adding the definite article 'the' to country names that require it for correct English grammar.
- Monday, July 31, 2017
- by dadeg
- Repository
- 0 Watchers
- 0 Stars
- 7 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Adding Definite Article to Country Names
, (*1)
This PHP package allows for adding the definite article ("the") to country names if required for proper English. Example: "United States" becomes "the United States." If it is a country that does not need the definite article added, it remains. Like so: "Japan" stays "Japan.", (*2)
Installation
composer require dadeg/php-country-definite-article
Getting Started
use CountryDefiniteArticle\CountryFormatter;
$countryWithDefiniteArticleAdded = CountryFormatter::format("United States"); // "the United States"
dev-master
9999999-dev
PHP library for adding the definite article 'the' to country names that require it for correct English grammar.
Sources
Download
MIT
The Development Requires
by
Dan DeGreef
1.0.1
1.0.1.0
PHP library for adding the definite article 'the' to country names that require it for correct English grammar.
Sources
Download
MIT
The Development Requires
by
Dan DeGreef
1.0.0
1.0.0.0
PHP library for adding the definite article 'the' to country names that require it for correct English grammar.
Sources
Download
The Development Requires
by
Dan DeGreef