Search by

jongoly / str-utils

jongoly

Enterprise-ready, modular string manipulation library for PHP 8.0+.

Package info

github.com/jongoly/str-utils

pkg:composer/jongoly/str-utils

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-09-10 14:59 UTC

This package is auto-updated.

Last update: 2026-09-10 19:22:54 UTC


README

A highly optimized, modular, framework-agnostic string manipulation helper package for PHP 8.0+. Designed with comprehensive multi-byte UTF-8 standard defenses, with over than 25+ methods.

Installation

composer require Jongoly/str-utils

Basic Initialization

use Jongoly\StrUtils\Str;

// Case conversions
Str::camel('user_profile'); // userProfile
Str::snake('PascalCase');   // pascal_case

// Safe PII Obfuscation
Str::maskEmail('secret@domain.com'); // s****t@domain.com

// Cryptographic Assertions
Str::uuid(); // Outputs robust v4 UUID pattern layout

Running Unit Tests

./vendor/bin/phpunit tests