Download the PHP package jackmeng/laravel-rpc without Composer

On this page you can find all versions of the php package jackmeng/laravel-rpc. 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 laravel-rpc

laravel rpc 用于项目之间进行签名认证通信

该项目客户端和服务端基于一体,下面分别对服务端和客户端的使用方式进行说明

安装

服务端

创建目录 app/RPC/Services 在上述目录中创建 XXX.php 命名的文件及类 继承 LaravelRpc\Service 编写自己的代码即可, 返回数据请使用

客户端

在服务端执行以下命令注册客户端

在 config/laravel_rpc.php 中的servers下配置服务端信息

然后创建目录 app/RPC/Clients 创建 XXClient.php 文件及类,并继承LaravelRcp\Client 定义 $server 变量,该变量的值为laravel_rpc配置中servers下的key

调用客户端

也可以按Service定义client文件

配置文件


All versions of laravel-rpc with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
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 jackmeng/laravel-rpc contains the following files

Loading the files please wait ...