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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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 ...

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: ### words
String 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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package chr15k/string contains the following files

Loading the files please wait ....