celsonery / initials
Package to return initials of names
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: ^8.1
Requires (Dev)
- phpunit/phpunit: ^11.4
README
A package utility to work with Initials Names, for show in front if the user do not have a picture.
Installation
This package available by Composer:
"celsonery/initials": "^1.0"
or run
composer require celsonery/initials
How to use
In your class import this trait
use CelsoNery\EanUtils\Services\Traits\Initials; class YourClassName { use Initials; public function yourMethod() { $initials = $this->getInitials("User Name")); } }
Contributing
Please see CONTRIBUTING for details.
Support
Security: If you discover any security related issues, please email celso.nery@gmail.com instead of using the issue tracker.
Thank you
Credits
- Celso Nery (Maintainer/Developer)
- All Contributors
License
The MIT License (MIT). Please see License File for more information.