hosmelq / name-of-person
Format people's names in PHP, from full and familiar names to initials and possessives.
v1.0.0
2026-11-16 17:59 UTC
Requires
- php: ^8.4
- ext-mbstring: *
- thecodingmachine/safe: ^3.4.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.57.0
- hosmelq/php-coding-standard: ^1.5.0
- illuminate/database: ^13.42.0
- pestphp/pest: ^5.3.6
- pestphp/pest-plugin-agent: ^5.0.0
- pestphp/pest-plugin-rector: ^5.0.6
- shipmonk/composer-dependency-analyser: ^1.8.4
Suggests
- illuminate/database: Required to cast Eloquent attributes with PersonNameCast.
Provides
None
Conflicts
None
Replaces
None
README
Name of Person formats people's names in PHP as full, familiar, abbreviated, and sorted names, initials, mention handles, and possessives, and casts them on Eloquent models.
composer require hosmelq/name-of-person
Read the full documentation.
Development
Run the test suite with:
composer test
Changelog
See CHANGELOG.md for a list of changes.
Contributing
Pull requests are welcome. Please run the test suite before submitting changes.
License
The MIT License (MIT). Please see License File for more information.