Download the PHP package nabeghe/stringer without Composer
On this page you can find all versions of the php package nabeghe/stringer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nabeghe/stringer
More information about nabeghe/stringer
Files in nabeghe/stringer
Package stringer
Short Description A string helper for PHP. It includes some useful methods and possibly other features.
License MIT
Homepage https://github.com/nabeghe/stringer-php
Informations about the package stringer
Stringer (String Helper for PHP)
A string helper for PHP. It includes some useful methods and possibly other features.
Some of the methods from the Str class of the Laravel framework are also included in this library; however, some of them have been modified.
🫡 Usage
🚀 Installation
You can install the package via composer:
Str Class
The main class that includes the useful methods is Nabegh\String\Str
.
Example:
UnicodeControls Class
A class that includes some Unicode control characters; for example, the invisible character, or the right-to-left and left-to-right markers.
Stringer Class
A string class.
Accepts any value, converts it to a string via strval, stores it, and returns it via __toString.
It is possible to access the methods of the Str
class through the Stringer
object as well, with the difference that the main text parameter is no longer present.
📖 License
Copyright (c) 2024 Hadi Akbarzadeh
Licensed under the MIT license, see LICENSE.md for details.
All versions of stringer with dependencies
ext-mbstring Version *
ext-json Version *
ext-ctype Version *