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

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