lushdigital/microservice-model-utils

A set of model related utility and convenience classes for a Lumen microservice.

v1.2.3 2017-08-22 14:04 UTC

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