s25 / name-splitter
Package for split russian full names
v1.0.1
2022-09-16 03:06 UTC
Requires
- php: >=7.2.0
- ext-sqlite3: *
Requires (Dev)
- phpunit/phpunit: ^9.5.20
This package is auto-updated.
Last update: 2025-03-16 08:58:04 UTC
README
Пример использования
<?php $splitter = new \S25\NameSplitter\Splitter(); $nameHolder = $splitter->split("Иванов Иван Иванович"); var_dump($nameHolder->getFirstName(), $nameHolder->getMiddleName(), $nameHolder->getLastName()); ?>