Download the PHP package riven/hyperf-grpc-sdk without Composer

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

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hyperf-grpc-sdk

Grpc-SDK

前言

运行命令

添加构建文件和命令(可选,若框架已存在,可忽略)

使用说明

  1. 首先执行composer dump-autoload 检查是否构建代码
  2. 调用GrpcClient进行调用(注意参数类型)

本包开发注意事项

服务端本地开发

  1. 创建自己分支,基于prod。

  2. 按规范编写proto文件。
  3. 执行composer dump-autoload 查看build.php文件是否符合预期。
  4. grpc服务项目修改composer.json,将本包以path方式进行本地软链映射。

  5. grpc服务项目 执行composer update riven/hyperf-grpc-sdk,然后开始服务实现对应grpc接口功能。
  6. 本地验证proto文件无误后,将sdk代码分支进行提交远程,若proto文件比较固定可申请合并并发布tag。
  7. 注意grpc服务项目恢复composer.json修改的path代码,同时需要更新composer.lock再进行提交。

All versions of hyperf-grpc-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package riven/hyperf-grpc-sdk contains the following files

Loading the files please wait ...