Etiqueta: array

Laravel Array View

Laravel Array View README An array view engine for Laravel PHP Framework. Version Compatibility ArrayView Laravel 1.0.x 5.1.x 1.1.x 5.1.x 1.1.4 5.* Installation $ composer require php-soft/laravel-array-view Once this has finished, you will need to add the service provider to the...

Simple library to handle words case transformation from array keys

Simple library to handle words case transformation from array keys README Simple library to handle words case transformation from array keys. Installation composer require deoliveiralucas/array-keys-case-transform Usage use ArrayKeysCaseTransformArrayKeys; $input = [ 'first_key' => 'value' ]; print_r(ArrayKeys::toCamelCase($input)); /* Output: Array ( [firstKey]...

PHP Array View

PHP Array View README An array view engine for PHP. Reference from https://github.com/gergoerdosi/hapi-json-view Installation $ composer require huytbt/php-array-view Usage Define helper (example bootstrap.php) <?php if (!function_exists('arrayView')) { /** * Get the evaluated view contents for the given view. * * @param...