Download the PHP package eufony/inflector without Composer
On this page you can find all versions of the php package eufony/inflector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eufony/inflector
More information about eufony/inflector
Files in eufony/inflector
Package inflector
Short Description Common interfaces for inflection libraries.
License LGPL-3.0-or-later
Informations about the package inflector
The Eufony Inflector Package
eufony/inflector provides a standardized interface for linguistic inflection libraries.
eufony/inflector is a PHP library that aims to improve interoperability between linguistic inflection implementations. It provides a common interface for changing the capitalization of strings, as well as the pluralization and singularization of words.
Interested? Here's how to get started.
Getting started
Installation
eufony/inflector is released as a Packagist package and can be easily installed via Composer with:
composer require "eufony/inflector"
Basic Usage
eufony/inflector provides InflectorInterface
, which defines the following methods:
It also provides a couple of pseudo-implementations to get you started:
Contributing
Found a bug or a missing feature? You can report it over at the issue tracker.
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.