https://github.com/divineomega/php-camel-caser
🐪💼 PHP Camel Caser - Lets you use built-in PHP functions in camel case
https://github.com/divineomega/php-camel-caser
camel-case camelcase functions php php-functions
Last synced: 9 months ago
JSON representation
🐪💼 PHP Camel Caser - Lets you use built-in PHP functions in camel case
- Host: GitHub
- URL: https://github.com/divineomega/php-camel-caser
- Owner: DivineOmega
- License: lgpl-3.0
- Created: 2018-09-05T12:02:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T08:20:41.000Z (about 6 years ago)
- Last Synced: 2025-06-01T14:58:09.626Z (12 months ago)
- Topics: camel-case, camelcase, functions, php, php-functions
- Language: PHP
- Homepage:
- Size: 46.9 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🐪💼 PHP Camel Caser
[](https://travis-ci.org/DivineOmega/php-camel-caser)
[](https://coveralls.io/github/DivineOmega/php-camel-caser?branch=master)
[](https://github.styleci.io/repos/147511192)
[](https://packagist.org/packages/divineomega/php-camel-caser/stats)
This package lets you use built-in PHP functions in camel case.
## Installation
PHP Camel Caser can be easily installed using Composer. Just run the following command from the root of your project.
```
composer require divineomega/php-camel-caser
```
If you have never used the Composer dependency manager before, head to the [Composer website](https://getcomposer.org/) for more information on how to get started.
## Usage
After installing PHP Camel Caser, the new functions are available straight away.
Some example usage is shown below.
```php
require_once __DIR__.'/vendor/autoload.php';
strReplace('c', 'b', 'cat'); // bat
strWordCount("Hello world!"); // 2
inArray('Picard', ['Picard', 'Janeway']); // true
// and so on...
```