Download the PHP package willypuzzle/laravel-helpers without Composer
On this page you can find all versions of the php package willypuzzle/laravel-helpers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download willypuzzle/laravel-helpers
More information about willypuzzle/laravel-helpers
Files in willypuzzle/laravel-helpers
Download willypuzzle/laravel-helpers
More information about willypuzzle/laravel-helpers
Files in willypuzzle/laravel-helpers
Vendor willypuzzle
Package laravel-helpers
Short Description A General Laravel Helpers package.
License MIT
Package laravel-helpers
Short Description A General Laravel Helpers package.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-helpers
Laravel General Helpers by Willypuzzle
In order to setup:
- Install with composer: composer require willypuzzle/laravel-helpers
- add this to the providers array: Willypuzzle\Helpers\GeneralServiceProvider::class
This is a collection of helpers that could be useful in a laravel enviroment. The helpers are grouped in facades divided by namespaces.
-
Willypuzzle\Helpers\Facades\General\Database
- getIdsFromModelsArray(array $models): It get a array of eloquent models and give back a set of ids relative to the models in the array.
-
Willypuzzle\Helpers\Facades\General\Environment
- isProduction(), it says if the environment is production
- isTesting(), it says if the environment is testing
- isDevelop(), it says if the enviroments is develop
- is($develop, $testing, $production), it says if it belongs to any of that environment for example is(true, true, false) says it is develop or testing environment.
In order to test the enviroment it uses the following values of APP_ENV:
- Develop: 'local', '''dev', 'develop', 'developing'
- Testing: 'test'. 'testing, 'staging', 'stage'
- Production: Other any values
All versions of laravel-helpers with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
illuminate/support Version >=5.4.0
illuminate/database Version >=5.4.0
lodash-php/lodash-php Version >=0.0.6
ext-json Version *
illuminate/support Version >=5.4.0
illuminate/database Version >=5.4.0
lodash-php/lodash-php Version >=0.0.6
ext-json Version *
The package willypuzzle/laravel-helpers contains the following files
Loading the files please wait ....