Skip to content

The huge amount of helpers you can use in any PHP project

License

Notifications You must be signed in to change notification settings

bsadnu/helpers-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The helpers box

Latest Stable Version Total Downloads License

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);
        
        ...
    }

    ...
}