Download the PHP package flc/laravel-hprose without Composer

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

Laravel-Hprose

该项目支持 Laravel 及非 Laravel 项目使用,支持 php >= 5.3 版本语法

注: 以下内容,默认你对 Hprose 已经有了一定了解。内容基于 Laravel 项目介绍。

安装

配置

服务提供者与门面

Laravel >= 5.5 已增加包自动发现。旧版本,请手动设置

初始化文件

执行完成后,会分别生成以下文件:

config/app.php 文件下加入默认的 Hprose 路由服务提供者

发布配置

执行后,会生成配置文件路径:/config/hprose.php

使用

配置说明

配置文件路径:/config/hprose.php

目前版本,除客户端配置中的远程服务器地址外,其他配置默认即可

其他均为后续支持 swoole-httptcpwebsocket 等,做提前架设

服务端

增加一个 Laravel 路由,用于启动 Http 服务,如:

对应控制器:

访问:http://localhost/hprose-server

Hprose 路由配置

Controller@tests 的方法自行定义

客户端

非 Laravel 项目使用

服务端

客户端

捐赠

如果你觉得本扩展对你有帮助,请捐赠以表支持,谢谢~~

微信

支付宝

License

MIT


All versions of laravel-hprose with dependencies

PHP Build Version
Package Version
Requires hprose/hprose-swoole Version ^2.0
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 flc/laravel-hprose contains the following files

Loading the files please wait ....