black-bits/composer-min-age-example-package

A tiny string manipulation helper library.

Maintainers

Package info

github.com/black-bits/composer-min-age-example-package

pkg:composer/black-bits/composer-min-age-example-package

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.2.0 2026-06-03 06:27 UTC

This package is auto-updated.

Last update: 2026-06-04 02:18:00 UTC


README

A small PHP string helper library, used as an example package for a minimum-release-age / install-delay demonstration.

Installation

composer require black-bits/composer-min-age-example-package

Usage

use BlackBits\StringHelper\StringHelper;

StringHelper::slugify('Hello, World!');          // "hello-world"
StringHelper::truncate('Lorem ipsum dolor', 5);  // "Lorem..."
StringHelper::camelCase('hello world');          // "helloWorld"
StringHelper::snakeCase('helloWorld');           // "hello_world"
StringHelper::contains('hello world', 'world');  // true
StringHelper::startsWith('hello world', 'hello'); // true

License

MIT