Download the PHP package nukacode/lumen-base without Composer
On this page you can find all versions of the php package nukacode/lumen-base. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package lumen-base
General Lumen changes
- Facades, Eloquent and DotEnv are enabled. Comment the lines in
bootstrap/app.php
out if you don't need them. - Configs folder added. If you want to add a config file, look to Lumen Docs.
app/Http/routes.php
contains a/status
route that will return a 200 response with JSON "ok".
Models
- All models return collections as an instance of
App\Support\Collection
. - All models can now tap
->hashId
to get a hashed version of it's id. - All models now have
findHash()
. This works the same asfind()
but expects the hashed id. - All models are expected to set a
HASH_ID
constant. This will be the models salt.- This is checked in the
BaseModel
constructor and will throw an exception if it's not found.
- This is checked in the
Transformers
- Docs: Fractal
- Example Class
All versions of lumen-base with dependencies
PHP Build Version
Package Version
Requires
laravel/lumen-framework Version
5.0.*
vlucas/phpdotenv Version ~1.0
league/fractal Version 0.12.*
hashids/hashids Version 1.0.*
vlucas/phpdotenv Version ~1.0
league/fractal Version 0.12.*
hashids/hashids Version 1.0.*
The package nukacode/lumen-base contains the following files
Loading the files please wait ....