LUSHDigital / microservice-core by danmrichards

A set of core functionality and convenience classes for a Lumen microservice.
5,464
10
7
Package Data
Maintainer Username: danmrichards
Maintainer Contact: dan.richards@lush.co.uk (Dan Richards)
Package Create Date: 2017-02-06
Package Last Update: 2019-04-02
Language: PHP
License: MIT
Last Refreshed: 2024-12-19 03:15:56
Package Statistics
Total Downloads: 5,464
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 10
Total Watchers: 7
Total Forks: 5
Total Open Issues: 0

Lush Digital - Micro Service Core

A set of core functionality and convenience classes for a Lumen microservice.

Description

This package is intended to provide a quick and easy bootstrap of functionality that a micro service is expected to provide. This includes an information route that could be used by a service registry, it also includes a health check route to verify your microservice is working.

The package also contains some convenience classes to help develop microservices.

Package Contents

  • Core micro service controller
  • Micro service helper class
  • Base enumeration class.
  • Exception handling trait
  • JSON Response trait
  • String handling trait

Installation

Install the package as normal:

$ composer require lushdigital/microservice-core

Register the service provider with Lumen in the bootstrap/app.php file:

$app->register(LushDigital\MicroServiceCore\MicroServiceServiceProvider::class);