🐪💼 PHP Camel Caser - Lets you use built-in PHP functions in camel case
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.coveralls.yml
.gitignore
.travis.yml
LICENSE
README.md
autoload.php
composer.json
phpcs.xml
phpmd.xml
phpstan.neon
phpunit.xml

README.md

🐪💼 PHP Camel Caser

Build Status Coverage Status StyleCI Packagist

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 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.

require_once __DIR__.'/vendor/autoload.php';

strReplace('c', 'b', 'cat');                // bat
strWordCount("Hello world!");               // 2
inArray('Picard', ['Picard', 'Janeway']);   // true

// and so on...