Download the PHP package fyre/string without Composer

On this page you can find all versions of the php package fyre/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

FyreString

FyreString is a free, open-source string manipulation library for PHP.

Table Of Contents

Installation

Using Composer

In PHP:

Methods

After

Get the contents of a string after the first occurrence of a substring.

If the search string is not found, this method will return the original string.

After Last

Get the contents of a string after the last occurrence of a substring.

If the search string is not found, this method will return the original string.

Before

Get the contents of a string before the first occurrence of a substring.

If the search string is not found, this method will return an empty string.

Before Last

Get the contents of a string before the last occurrence of a substring.

If the search string is not found, this method will return an empty string.

Camel

Convert a string into camelCase.

Capitalize

Capitalize the first character of a string.

Chunk

Split a string into smaller chunks.

Contains

Determine whether a string contains a substring.

Contains All

Determine whether a string contains all substrings.

Contains Any

Determine whether a string contains any substring.

End

Append a substring to a string (if it does not already end with the substring).

Ends With

Determine whether a string ends with a substring.

Escape

Escape characters in a string for use in HTML.

Index Of

Get the position of the first occurrence of a substring within a string.

If the search string is not found, this method will return -1.

Is String

Determine whether the value is a string.

Kebab

Convert a string into kebab-case.

Last Index Of

Get the position of the last occurrence of a substring within a string.

If the search string is not found, this method will return -1.

Length

Get the length of a string (in bytes).

Limit

Limit a string to a specified number of bytes.

Lower

Convert a string into lowercase.

Pad

Pad a string to a specified length.

Pad End

Pad the end of a string to a specified length.

Pad Start

Pad the start of a string to a specified length.

Pascal

Convert a string into PascalCase.

Random

Generate a random string.

Repeat

Repeat a string a specified number of times.

Replace

Search and replace a value within a string.

Replace Array

Search and replace a value within a string.

Replace At

Replace text within a portion of a string.

Replace Each

Search and replace key/value pairs within a string.

Replace First

Search and replace the first occurrence of a value within a string.

Replace Last

Search and replace the last occurrence of a value within a string.

Reverse

Reverse the contents of a string.

Shuffle

Shuffle the contents of a string.

Slice

Return a specified portion of a string.

Slug

Format a string for use in a URL.

Snake

Convert a string into snake_case.

Split

Split a string by a specified delimiter.

Start

Prepend a substring to a string (if it does not already begin with the substring).

Starts With

Determine whether a string begins with a substring.

Title

Capitalize the first character of each word in a string.

Transliterate

Transliterate the characters of a string into ASCII.

Trim

Trim whitespace (or other characters) from the start and end of a string.

Trim End

Trim whitespace (or other characters) from the end of a string.

Trim Start

Trim whitespace (or other characters) from the start of a string.

Upper

Convert a string into uppercase.


All versions of string with dependencies

PHP Build Version
Package Version
No informations.
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 fyre/string contains the following files

Loading the files please wait ....