Download the PHP package haiyin/gc-opensdk-php without Composer

On this page you can find all versions of the php package haiyin/gc-opensdk-php. 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 gc-opensdk-php

gc-open-sdk-php

介绍

谷仓开放平台-客户端PHPSDK

软件架构

软件架构说明

├── core //核心代码目录
│   ├── Config.php //配置对象 apikey apisecret aes密钥(16位) 谷仓公钥
│   ├── Engine.php //执行引擎对象,通过该对象query方法 发起服务调用
│   ├── api //api实体对象,具体接口请参考谷仓众包开放平台接口文档. 接口文件名和接口文档中接口名称保持对应
│   │   ├── AccountBalance.php
│   │   ├── Bankcard3c.php
│   │   ├── FileUpload.php
│   │   ├── OrderInvoice.php
│   │   ├── OrderQueryInvoice.php
│   │   ├── PayOrder.php
│   │   ├── PayQueryBill.php
│   │   ├── PayQueryResult.php
│   │   ├── PersonAuth.php
│   │   ├── PersonSign.php
│   │   └── PersonStatus.php
│   ├── autoload.php //自动加载文件,项目中首先通过引入该文件,然后调用sdk中类方法
│   ├── impl //接口文件
│   │   ├── ApiInterface.php
│   │   └── ConfigInterface.php
│   └── support 工具目录
│       ├── Aes.php
│       ├── Rsa.php
│       └── Support.php
├── demo 测试样本
│   └── test.php

安装教程

  1. 将sdk中的 haiyin目录 放入项目第三方包应当存放合适的位置
  2. 在项目bootstrap文件中引入haiyin/core/autoload.php 文件

使用说明

  1. php版本不得低于php5.3
  2. 要求安装openssl curl 扩展模块

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

All versions of gc-opensdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
ext-curl 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 haiyin/gc-opensdk-php contains the following files

Loading the files please wait ....