Download the PHP package php-libra/php-libra without Composer

On this page you can find all versions of the php package php-libra/php-libra. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of php-libra with dependencies

Informations about the package php-libra

php-libra

Latest Stable Version License Build Status

A php library to work with the Libra gRPC client and protobuf.

Sample Code

Examples

The best place to learn about the library is to read the example code.

Installation with composer

Note to Developers

Protobuf Installation

Official gRPC documentation here

For Ubuntu LTS 18.04

Build protobufs for php

All *.proto files are from libra repo. https://github.com/libra/libra/tree/master/types/src/proto

The above command will generate php protobuf in the following folders.

The only code that is editable for the library resides in src/PhpLibra

The above command will auto generate php proto files to lib folder

Other Packages

A lot of ideas and inspirations for this package were taken from

Common Errors

You do not have the grpc library enabled. php -i | grep grpc should return something. Add extension=grpc.so to your php.ini. See above.

Missing grpc.so on your php server. Either ../fpm/php.ini or ../apache/php.ini Check phpinfo() for grpc to appear. Restart your server.

Maintainers

An open source library from:

connectedlogo_blue


Version
Requires grpc/grpc Version ^1.22
google/protobuf Version ^3.8
google/flatbuffers Version ^1.11

The package php-libra/php-libra contains the following files

Loading the files please wait ....