Download the PHP package barouge/strings without Composer

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

Extensions to PHP native string functionality

Tests codecov Licence Badge Release Badge Tag Badge Issues Badge Code Size

A library that extends PHP's native string functionality

Compatibility and dependencies

This library is compatible with PHP version 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4.

This library has no dependencies.

Installation

Installation is simple using composer.

Or simply add it to your composer.json file

Contributing

This library follows PSR-1 & PSR-2 standards.

Unit Tests

Before pushing any changes, please ensure the unit tests are all passing.

If possible, feel free to improve coverage in a separate commit.

Code sniffer

Before pushing, please ensure you have run the code sniffer. Only run it using the lowest support PHP version (7.2)

Static Analyses

Before pushing, please ensure you have run the static analyses tool.

Benchmarks

Before pushing, please ensure you have checked the benchmarks and ensured that your code has not introduced any slowdowns.

Feel free to speed up existing code, in a separate commit.

Feel free to add more benchmarks for greater coverage, in a separate commit.

Documentation

This library adds a number of array functions to extend PHP's native functionality

Below you can find links to the documentation for the new features.

Function Description
str_case_camel Converts a string to camelCase
str_case_kebab Converts a string to kebab-case
str_case_pascal Converts a string to PascalCase
str_case_sentence Converts a string to Sentence case
str_case_snake Converts a string to snake_case
str_case_title Converts a string to Title Case
str_cipher_caesar Transform a string by shifting each letter up or down the alphabet
str_cipher_caesar_reverse Reverse the effects of str_cipher_caesar
str_cipher_mono_alphabetic Transform a string by mapping each letter to another alphabet
str_contains Determine if a string contains another string
str_ends_with Determine if a string ends with another string
str_random Creates a string of random characters
str_slug Converts a string to a slug
str_starts_with Determine if a string starts with another string

All versions of strings with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
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 barouge/strings contains the following files

Loading the files please wait ...