2017 © Pedro Peláez
 

library microservice-remote-models

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

image

lushdigital/microservice-remote-models

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

  • Friday, November 17, 2017
  • by danmrichards
  • Repository
  • 19 Watchers
  • 6 Stars
  • 513 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 13 Versions
  • 1 % Grown

The README.md

Lush Digital - Microservice Remote Models

A Lumen package to provide a familiar model paradigm for distributed data., (*1)

Description

This package provides a model system, similar to Eloquent, but with the key focus on distributed data. Each model class is bound to a remote microservice with an expected RESTful API. This allows developers to create service aggregators which can manipulate data, via models, just as easily as if the data was in a local database., (*2)

To allow this to work the package is quite opinionated on the request/response data in the remote services. This data should always conform to the following standard:, (*3)

https://github.com/LUSHDigital/microservice-core/blob/master/spec/swagger.yaml, (*4)

This package is intended to operate within a Kubernetes cluster whereby service discovery is handled by DNS names., (*5)

Relationships

The package also handles relationships between remote models via the use of gRPC. As well as the microservices existing to power the remote models, it is also expected that a gRPC application will be available to manage the relationships. This gRPC application is based upon this protocol buffer., (*6)

See the Configuration documentation for information on DNS and ports., (*7)

Installation

Install the package as normal:, (*8)

$ composer require lushdigital/microservice-remote-models

Register the service provider with Lumen in the bootstrap/app.php file:, (*9)

$app->register(LushDigital\MicroServiceRemoteModels\RemoteModelServiceProvider::class);

The package requires that the following changes are made to the Lumen config in bootstrap/app.php, (*10)

<?php

// Uncomment the line below to enable Facade support.
$app->withFacades();

// Uncomment the line below to enable Eloquent ORM support.
$app->withEloquent();

// Add the line below to load database config. This is required for caching to work.
$app->configure('database');

Documentation

The Versions

17/11 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

17/11 2017

v0.6.0

0.6.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

22/08 2017

v0.5.0

0.5.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

17/07 2017

v0.4.1

0.4.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

12/07 2017

v0.4.0

0.4.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

06/07 2017

v0.3.1

0.3.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

05/07 2017

v0.3.0

0.3.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

04/07 2017

v0.2.2

0.2.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

04/07 2017

v0.2.1

0.2.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

04/07 2017

v0.2.0

0.2.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

12/04 2017

v0.1.2

0.1.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

12/04 2017

v0.1.1

0.1.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc

11/04 2017

v0.1.0

0.1.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel microservice framework lumen models grpc