lewis-dun / indefinite-article
Grammatical utility for prepending an indefinite article to a word
Installs: 2 275
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 16
pkg:composer/lewis-dun/indefinite-article
Requires
- php: ^5.6 || ^7.0 || ^8.0
Requires (Dev)
- phpstan/phpstan: ^1
- phpunit/phpunit: ^7 || ^8 || ^9
This package is auto-updated.
Last update: 2025-11-21 21:27:49 UTC
README
This is a PHP port of the Lingua::EN::Inflect Perl module's A() subroutine.
The best way to use it is with Composer: php composer.phar require thaumatic/indefinite-article
Then you can use Thaumatic\IndefiniteArticle; and echo 'This is ' . IndefiniteArticle::a('test');
Original module Copyright (c) 1997-2009 Damian Conway. http://search.cpan.org/dist/Lingua-EN-Inflect/lib/Lingua/EN/Inflect.pm
Previous adaptation by Niko Salminen (http://nikosalminen.com)
Further work by Thaumatic Systems, LLC (http://thaumatic.com)