Download the PHP package oyta/oyta-ly without Composer

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

Oyta-ly

This PHP

composer

composer require oyta/oyta-ly

use

use Oyta\OytaLy\Join;

signup

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识 AG,BBIN
    'username'=>'', //注册账号
    'password'=>'' //注册密码
];
return Join::SignUp($data);

SignIn

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识 AG,BBIN
    'username'=>'', //注册时账号
    'gameType'=>'', //游戏类型
    'gameCode'=>'', //子游戏代码
    'isMobile'=>'', //电脑版and手机版 默认0  0-电脑版 1-手机版
];
return Join::SignIn($data);

BaLance

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识 AG,BBIN
    'username'=>'', //会员账号
];
return Join::BaLance($data);

OrderStatus

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识 AG,BBIN
    'username'=>'', //会员账号
    'transferno'=>'', //转账订单号
];
return Join::OrderStatus($data);

CrEdit

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识:通用分商户传固定参数 "CURRENCY"
];
return Join::CrEdit($data);

GameList

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识:AG,BBIN
];
return Join::GameList($data);

GameRecord

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'method'=>'', //updateTime 根据修改时间采集,betTime 根据投注时间采集
    'page'=>'', //页数
    'pageSize'=>'', //每页条数,每页最大500条
    'start_at'=>'', //开始时间,十位时间戳1602333908
    'end_at'=>'', //结束时间,十位时间戳1602852308
];
return Join::GameRecord($data);

DePoSit

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识 AG,BBIN
    'username'=>'', //会员账号
    'amount'=>'', //转账金额,只接受整数
    'transferno'=>'', //转账订单号,建议时间戳+随机数字,最小16位,最大32位
];
return Join::DePoSit($data);

WithdRawaL

$data = [
    'account'=>'', //商户账号
    'api_key'=>'', //商户密钥
    'api_code'=>'', //接口标识 AG,BBIN
    'username'=>'', //会员账号
    'amount'=>'', //转账金额,只接受整数
    'transferno'=>'', //转账订单号,建议时间戳+随机数字,最小16位,最大32位
];
return Join::WithdRawaL($data);

All versions of oyta-ly with dependencies

PHP Build Version
Package Version
No informations.
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 oyta/oyta-ly contains the following files

Loading the files please wait ...