Skip to content

About

Mifiel API Client for PHP

Topics

Resources

Stars

3 stars

Watchers

8 watching

Forks

Repository files navigation

Mifiel PHP API Client

Latest Stable Version Build Status

PHP SDK for the Mifiel API.

Documentation

API reference, guides, and examples:

This README covers installation and client setup only.

Installation

composer require mifiel/api-client

Or add it to your composer.json:

{
  "require": {
    "mifiel/api-client": "^4.0"
  }
}

Setup

  1. Create an account (production or sandbox).
  2. Generate an APP_ID and APP_SECRET in Access Tokens.
  3. Configure the client:
use Mifiel\ApiClient as Mifiel;

Mifiel::setTokens('APP_ID', 'APP_SECRET');
// Production is the default (https://app.mifiel.com/api/v1/).
// For sandbox:
Mifiel::url('https://app-sandbox.mifiel.com/api/v1/');

Development & Tests

# Unit
php vendor/bin/phpunit --exclude-group internet
# e2e
php vendor/bin/phpunit --group internet

Contributing

  1. Fork it (https://github.com/Mifiel/php-api-client/fork)
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-new-feature)
  5. Create a new Pull Request

About

Mifiel API Client for PHP

Topics

Resources

Stars

3 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages