biliboobrian / microservice-model-utils by biliboobrian
forked from LUSHDigital/microservice-model-utils

A set of model related utility and convenience classes for a Lumen microservice.
269
1
1
Package Data
Maintainer Username: biliboobrian
Maintainer Contact: dan.richards@lush.co.uk (Dan Richards)
Package Create Date: 2019-10-10
Package Last Update: 2020-10-10
Language: PHP
License: MIT
Last Refreshed: 2024-04-18 15:27:23
Package Statistics
Total Downloads: 269
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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