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

1.0.1 2024-10-27 15:51 UTC

This package is auto-updated.

Last update: 2025-02-27 17:00:15 UTC


README

A package utility to work with Initials Names, for show in front if the user do not have a picture.

Maintainer PHP from Packagist Latest Version Software License Build Quality Score Total Downloads

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

License

The MIT License (MIT). Please see License File for more information.