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.
281
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-11-23 03:21:58
Package Statistics
Total Downloads: 281
Monthly Downloads: 11
Daily Downloads: 1
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