Download the PHP package tinigin/morphos without Composer
On this page you can find all versions of the php package tinigin/morphos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tinigin/morphos
More information about tinigin/morphos
Files in tinigin/morphos
Package morphos
Short Description A morphological solution for Russian and English language written completely in PHP. Provides classes to inflect personal names, geographical names, decline and pluralize nouns, generate cardinal and ordinal numerals, spell out money amounts and time.
License MIT
Homepage https://tinigin.ru
Informations about the package morphos
Morphos
A morphological solution for Russian and English language written completely in PHP and delivered as a PHP library or docker image to integrate in non-PHP stack.
Features
- [✓] Inflection of Personal names (Фамилия, Имя, Отчество) (Russian)
- [✓] Inflection of Geographical names (Страны/Города) (Russian)
- [✓] Declension/Pluralization of nouns and adjectives (Russian, English)
- [✓] Generation numerals of numbers (количественные и порядковые) (Russian, English)
- [✓] Spelling out amounts of money (Russian)
- [✓] Spelling out time units and intervals (Russian, English)
Table of contents
- Installation
- Quick start
- Documentation
- Contributing
Installation
As PHP library
- Download library through composer:
or install via adapter:
- Adapter for Blade: wapmorgan/morphos-blade
- Adapter for Twig: wapmorgan/morphos-twig
- Adapter for Yii2: wapmorgan/yii2-inflection
As a separate service
The server starts in a container from docker image and listens 8080 port for GET-requests.
Integrate service into your stack (for example, docker compose)
or standalone container:
Tip: adjust NUM_WORKERS
env variable if you will send a lot of load to service. By default, it's 4.
There are API: marks in documentation for functions, that exposed as service endpoints. Just pass them the same arguments as to PHP-functions/methods.
Quick Start
Russian
English
Documentation
- Русская морфология в файле README-ru.md
- English morphology in file README-en.md
Contributing
See CONTRIBUTING.md for this.
All versions of morphos with dependencies
ext-mbstring Version *