bsadnu / helpers-box
The huge amount of helpers you can use in any PHP project
v0.1.3
2018-09-04 12:20 UTC
Requires
- php: ^7.1
- doctrine/inflector: ~1.1
- ramsey/uuid: ^3.7
This package is not auto-updated.
Last update: 2024-11-14 14:26:11 UTC
README
This library provides a number of static helper methods. At the moment it is a full copy of Laravel 5.7 Arr and Str helpers.
Installation
Open a command console, enter your project directory and execute:
$ composer require bsadnu/helpers-box
Usage
Simply call static methods as follows:
<?php ... use Bsadnu\HBox\Arr; use Bsadnu\HBox\Str; ... class SomeClass { ... public function someMethod() { ... Arr::pluck($someArray, $value); Str::camel($someString); ... } ... }