PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Celso   Initials   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Initials
Get the initial letters of a name
Author: By
Last change:
Date: Yesterday
Size: 2,031 bytes
 

Contents

Class file image Download

Utility for return Initials of Names in PHP - by Celso Nery

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.