lushdigital/microservice-model-utils

A set of model related utility and convenience classes for a Lumen microservice.
5,258 2
Install
composer require lushdigital/microservice-model-utils
Latest Version:v1.2.3
PHP:>=5.6.4
License:MIT
Last Updated:Aug 22, 2017
Links: GitHub  ·  Packagist
Maintainer: danmrichards

Lush Digital - Micro Service Model Utils

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