lushdigital/microservice-core

A set of core functionality and convenience classes for a Lumen microservice.
5,506 10
Install
composer require lushdigital/microservice-core
Latest Version:v1.1.2
PHP:>=5.6.4
License:MIT
Last Updated:Apr 2, 2019
Links: GitHub  ·  Packagist
Maintainer: danmrichards

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);

Related Packages

lushdigital/microservice-aggregator-core

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

920 2
lushdigital/microservice-remote-models

A Lumen package to provide a familiar model paradigm for distributed data.

547 23
lushdigital/microservice-crud

A CRUD convenience layer for microservices built in Lumen.

3,927 7
lushdigital/microservice-model-utils

A set of model related utility and convenience classes for a Lumen microservice.

5,265 2
lushdigital/microservice-aggregator-transport

A set of convenience classes and interfaces for simplifying aggregation of data...

665 0