biliboobrian / microservice-model-utils
A set of model related utility and convenience classes for a Lumen microservice.
1.2.8
2020-10-10 11:10 UTC
Requires
- laravel/lumen-framework: 5.3.* || 6.* || 7.* || 8.*
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