lushdigital / microservice-model-utils
A set of model related utility and convenience classes for a Lumen microservice.
Installs: 5 222
Dependents: 3
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 0
Requires
- php: >=5.6.4
- laravel/lumen-framework: 5.3.*
Requires (Dev)
- phpunit/phpunit: ~5.0
README
A set of model related utility and convenience classes for a Lumen microservice.
Description
This package is intended to provide a set of utilities to make your life easier when dealing with models in a microservice. You may for example want to get the name of the database table a model uses without instantiating a new model instance. This package also provides convenience functions and a trait to help with cache invalidation.
Package Contents
- Base model abstract class
- Cache handling trait
Installation
Install the package as normal:
$ composer require lushdigital/microservice-model-utils