Download the PHP package synapse/case-convert without Composer
On this page you can find all versions of the php package synapse/case-convert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download synapse/case-convert
More information about synapse/case-convert
Files in synapse/case-convert
Download synapse/case-convert
More information about synapse/case-convert
Files in synapse/case-convert
Vendor synapse
Package case-convert
Short Description Package to convert strings between different cases
License MIT
Package case-convert
Short Description Package to convert strings between different cases
License MIT
Please rate this library. Is it a good library?
Informations about the package case-convert
Case Convert
PHP Package to convert strings between cases
Usage
Pull in the composer package using the following command:
composer require synapse/case-convert
Then import and use the Str class.
use Neuron\Str;
$convert = Str::convert('Example test string');
echo $convert->toSnakeCase(); // "example_test_string"
echo $convert->toKebabCase(); // "example-test-string"
echo $convert->toCamelCase(); // "exampleTestString"
echo $convert->toCamelCaseUpperFirstLetter(); // "ExampleTestString"
For one off conversions, you can easily change the to...Case method onto the convert method:
Str::convert('example-test-string')->toPlainSentence(); // "Example test string"All versions of case-convert with dependencies
PHP Build Version
Package Version
No informations.
The package synapse/case-convert contains the following files
Loading the files please wait ...