hametuha/string-utility

PHP traits of string helper functions.

1.2.0 2022-11-30 07:30 UTC

This package is auto-updated.

Last update: 2024-03-29 03:58:46 UTC


README

PHP utility traits of string related functions.

Travis CI

Installation

composer require hametuha/string-utility

How To Use

<?php

MyClass {

    use Hametuha\StringUtility\NamingConventions;
}


$my_instance = new MyClass();

echo $my_instance->camel_to_kebab( 'MyClassName' );
// -> 'my-class-name'

Lisence

GPL 3.0 or later.