Download the PHP package chr15k/string without Composer
On this page you can find all versions of the php package chr15k/string. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chr15k/string
More information about chr15k/string
Files in chr15k/string
Download chr15k/string
More information about chr15k/string
Files in chr15k/string
Please rate this library. Is it a good library?
Informations about the package string
Awesome String helpers for your PHP project
This package provides useful helpers for working with strings in PHP, including UUID and ASCII support.
Based on ...
- Laravel's string helper work (https://github.com/laravel/framework)
Install
You can install this package via composer:
Usage
Docs
String Method Chaining
- [after](#after2) - [afterLast](#afterLast2) - [append](#append2) - [ascii](#ascii2) - [basename](#basename2) - [before](#before2) - [beforeLast](#beforeLast2) - [camel](#camel2) - [contains](#contains2) - [containsAll](#containsAll2) - [dirname](#dirname2) - [endsWith](#endsWith2) - [exactly](#exactly2) - [explode](#explode2) - [finish](#finish2) - [isAscii](#isAscii2) - [isEmpty](#isEmpty2) - [isNotEmpty](#isNotEmpty2) - [kebab](#kebab2) - [length](#length2) - [limit](#limit2) - [lower](#lower2) - [ltrim](#ltrim2) - [match](#match2) - [plural](#plural2) - [possessive](#possessive2) - [prepend](#prepend2) - [replace](#replace2) - [replaceArray](#replaceArray2) - [replaceFirst](#replaceFirst2) - [replaceLast](#replaceLast2) - [rtrim](#rtrim2) - [singular](#singular2) - [slug](#slug2) - [snake](#snake2) - [split](#split2) - [start](#start2) - [startsWith](#startsWith2) - [studly](#studly2) - [substr](#substr2) - [title](#title2) - [trim](#trim2) - [ucfirst](#ucfirst2) - [upper](#upper2) - [whenEmpty](#whenEmpty2) - [words](#words2) ### after ### afterLast ### append ### ascii Transliterate the string to an ASCII value: ### basename ### before ### beforeLast ### camel ### contains ### containsAll ### dirname ### endsWith ### exactly ### explode ### finish ### isAscii ### isEmpty ### isNotEmpty ### kebab ### length ### limit ### lower ### ltrim ### match ### plural ### possessive ### prepend ### replace ### replaceArray ### replaceFirst ### replaceLast ### rtrim ### singular ### slug ### snake ### split ### start ### startsWith ### studly ### substr ### title ### trim ### ucfirst ### upper ### whenEmpty The whenEmpty method invokes the given Closure if the string is empty: ### wordsString Methods
- [after](#after) - [afterLast](#afterLast) - [before](#before) - [camel](#camel) - [contains](#contains) - [containsAll](#containsAll) - [endsWith](#endsWith) - [finish](#finish) - [isAscii](#isAscii) - [isUuid](#isUuid) - [kebab](#kebab) - [length](#length) - [limit](#limit) - [lower](#lower) - [match](#match) - [orderedUuid](#orderedUuid) - [plural](#plural) - [possessive](#possessive) - [random](#random) - [replaceArray](#replaceArray) - [replaceFirst](#replaceFirst) - [replaceLast](#replaceLast) - [singular](#singular) - [slug](#slug) - [snake](#snake) - [start](#start) - [startsWith](#startsWith) - [studly](#studly) - [title](#title) - [ucfirst](#ucfirst) - [upper](#upper) - [uuid](#uuid) - [words](#words) ### Str::after() ### Str::afterLast() ### Str::before() ### Str::camel() ### Str::contains() ### Str::containsAll() ### Str::endsWith() ### Str::finish() ### Str::isAscii() ### Str::isUuid() ### Str::kebab() ### Str::length() ### Str::limit() ### Str::lower() ### Str::match() ### Str::orderedUuid() The Str::orderedUuid() method generates a "timestamp first" UUID that may be efficiently stored in an indexed database column. ### Str::plural() ### Str::possessive() ### Str::random() ### Str::replaceArray() ### Str::replaceFirst() ### Str::replaceLast() ### Str::singular() ### Str::slug() ### Str::snake() ### Str::start() ### Str::startsWith() ### Str::studly() ### Str::title() ### Str::ucfirst() ### Str::upper() ### Str::uuid() ### Str::words()Testing
You can run the tests with:
License
The MIT License (MIT). Please see License File for more information.
All versions of string with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4
doctrine/inflector Version ~1.4|^2.0
ramsey/uuid Version ^4.0
voku/portable-ascii Version ^1.5
doctrine/inflector Version ~1.4|^2.0
ramsey/uuid Version ^4.0
voku/portable-ascii Version ^1.5
The package chr15k/string contains the following files
Loading the files please wait ....