Download the PHP package ptrkcsk/change-case without Composer
On this page you can find all versions of the php package ptrkcsk/change-case. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ptrkcsk/change-case
More information about ptrkcsk/change-case
Files in ptrkcsk/change-case
Download ptrkcsk/change-case
More information about ptrkcsk/change-case
Files in ptrkcsk/change-case
Vendor ptrkcsk
Package change-case
Short Description Convert strings to camelCase, CONSTANT_CASE, dot.case, Header-Case, lower case, param case, PascalCase, path/case, Sentence case, snake_case, Title Case, UPPER CASE, and more!
License MIT
Homepage https://github.com/ptrkcsk/change-case
Package change-case
Short Description Convert strings to camelCase, CONSTANT_CASE, dot.case, Header-Case, lower case, param case, PascalCase, path/case, Sentence case, snake_case, Title Case, UPPER CASE, and more!
License MIT
Homepage https://github.com/ptrkcsk/change-case
Please rate this library. Is it a good library?
Informations about the package change-case
This package is abandoned and no longer maintained. The author suggests using the jawira/case-converter package instead.
Change Case
Convert strings to camelCase, CONSTANT_CASE, dot.case, Header-Case,
lower case, param-case, PascalCase, path/case, Sentence case,
snake_case, Title Case, UPPER CASE, and more!
Change Case is a port to PHP from JavaScript of Blake Embrey’s project of the same name.
Installation
Case styles
| Style (& aliases) | Example |
|---|---|
| Camel, lower camel | test string → testString |
| Constant, screaming snake | test string → TEST_STRING |
| Dot | test string → test.string |
| Header | test string → Test-String |
| Lower | test string → test string |
| Lower first | TEST STRING → tEST STRING |
| No | test string → test string |
| Param, kebab, lisp | test string → test-string |
| Pascal, upper camel | test string → TestString |
| Path | test string → test/string |
| Sentence | test string → Test string |
| Snake, pothole | test string → test_string |
| Swap | TeSt StRiNg → tEsT sTrInG |
| Title, start | test string → Test String |
| Upper, all caps | test string → TEST STRING |
| Upper first | test string → Test string |
API Methods
Camel case, lower camel case: test string → testString
Constant case, screaming snake case: test string → TEST_STRING
Dot case: test string → test.string
Header case: test string → Test-String
Lower case: test string → test string
Lower case first: TEST STRING → tEST STRING
No case: test string → test string
Param case, kebab case, lisp case: test string → test-string
Pascal case, upper camel case: test string → TestString
Path case: test string → test/string
Sentence case: test string → Test string
Snake case, pothole case: test string → test_string
Swap case: TeSt StRiNg → tEsT sTrInG
Title case, start case: test string → Test String
Upper case, all caps: test string → TEST STRING
Upper case first: test string → Test string
All versions of change-case with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7
The package ptrkcsk/change-case contains the following files
Loading the files please wait ...