2017 © Pedro Peláez
 

project service-server

server of micro service

image

uniondrug/service-server

server of micro service

  • Thursday, February 1, 2018
  • by wsfuyibing
  • Repository
  • 2 Watchers
  • 0 Stars
  • 129 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

uniondrug service server

UnionDrug微服务MicroService服务端producer。, (*1)

  • PHP 7.1+
  • Phalcon 3.2+

Methods

  1. withError(string, int)
  2. withList(array)
  3. withObject(array)
  4. withPaging(array, ResponsePaging)
  5. withSuccess()
  6. setPaging(int, int, int)
public function postAction(){
    $total = 123;
    $page = 3;
    $limit = 15;
    $data = [
        ["id" => 1, "key" => "value"], 
        ["id" => 2, "key" => "value2"]
    ];
    $this->serviceServer->setPaging($total, $page, $limit)->withPaging($data);
}

Directory, (*2)

└── vendor
    └── uniondrug
        └── service-server
            ├── src
            │   └── Server.php
            └── README.md

Composer, (*3)

{
    "autoload" : {
        "psr-4" : {
            "UniondrugServiceServer\\" : "vendor/uniondrug/service-server/src"
        }
    }
}

The Versions

01/02 2018

dev-master

9999999-dev

server of micro service

  Sources   Download

proprietary

by fuyibing

phalcon

01/02 2018

1.4

1.4.0.0

server of micro service

  Sources   Download

proprietary

by fuyibing

phalcon

31/01 2018

1.3

1.3.0.0

server of micro service

  Sources   Download

proprietary

by fuyibing

phalcon

22/12 2017

1.2

1.2.0.0

server of micro service

  Sources   Download

proprietary

by fuyibing

phalcon

14/11 2017

1.1

1.1.0.0

server of micro service

  Sources   Download

proprietary

by fuyibing

phalcon