Download the PHP package kurisu/laravel-exincore-sdk without Composer

On this page you can find all versions of the php package kurisu/laravel-exincore-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 laravel-exincore-sdk

laravel-exincore-sdk


Requirement

  1. Laravel >= 5.1
  2. Composer
  3. PHP >= 7.0

Installation

配置

  1. 如果你的 Laravel >= 5.5,可跳过第一步,从第二步开始即可。否则需要在 config/app.php 中注册 ServiceProvider 和 Facade。

  2. 创建配置文件

  3. 填写配置,你可以选择如下几种方法中的一种来配置

    1. 填写 config/exincore.php.env 配置

      此后,调用时就自动载入以上配置。

      如果不想私钥被记录到 VCS 中,可以参考此处进行配置

    2. 你也可以不在 config/exincore.php 中进行任何配置,以如下方式调用即可

    3. 你也可以在项目中封装自己的方法来更加方便的切换配置。

使用

例示

调用

code description
ExinCore::readExchangeList($baseAsset = null, $exchangeAsset = null) 查询指定交易对的行情
ExinCore::createOrder($baseAsset, $exchangeAsset, $amount) 创建订单

WARNING

有三个不太重要的可配置项

  1. 是否需要返回原始响应体

  2. 如果 Mixin Network Api 返回错误码,是否抛出异常

  3. 设置网络请求超时时间

Alternatives

[kurisu/exincore-php-sdk]

LICENSE

MIT


All versions of laravel-exincore-sdk with dependencies

PHP Build Version
Package Version
Requires kurisu/exincore-php-sdk Version ^1.0
illuminate/support Version ^5.1
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 kurisu/laravel-exincore-sdk contains the following files

Loading the files please wait ....