arabcoders/utext

String manipulation library

Installs: 253

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/arabcoders/utext

v2.0.1 2022-01-18 08:09 UTC

This package is auto-updated.

Last update: 2025-10-18 16:27:57 UTC


README

based on the laravel/support string class.

The purpose of this library is to abstract away the underlying string functions. instead of relying on mbstring or intl functions directly.

Install

Via Composer

$ composer require arabcoders/utext

Usage Example.

<?php

require __DIR__ . 'vendor/autoload.php';

use \arabcoders\utext\UText;

echo (new UText('foo'))->upper();

// -- or you could use the shortcut function auto included by the package.
echo u('foo')->upper();