8000 GitHub - yiui/fadada: fadada for php
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yiui/fadada

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fadada SDK for PHP

Overview

php 对接法大大

Run environment

  • PHP 5.5+.

安装

  • If you use the composer to manage project dependencies, run the following command in your project's root directory:

      composer require yiui/fadada "*"
    

    You can also declare the dependency on fadada for PHP in the composer.json file.

      "require": {
          "yiui/fadada": "~1.0.1"
      }
    

    Then run composer install to install the dependency. After the Composer Dependency Manager is installed, import the dependency in your PHP code:

      require_once __DIR__ . '/vendor/autoload.php';
    
  • You can also directly download the packaged PHAR File, and introduce the file to your code:

Quick use

Common classes

安装

/**
<?php

namespace common\components;

use yiui\fadada\FddServer;

/**
 *
 * 法大大接口继承,
 *
 **/
class Fadada extends FddServer
{
    public $appId;
    public $appSecret;
    public $host;

    public function __construct()
    {
        $this->appId = "";
        $this->appSecret = "";
        $this->host = '';
        parent::__construct($this->appId, $this->appSecret, $this->host);
    }
}
***/

License

  • MIT

Contact us

About

fadada for php

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages

0