Search by

mifiel / api-client

genaromadrid

Mifiel API Client for PHP

Package info

github.com/Mifiel/php-api-client

pkg:composer/mifiel/api-client

Statistics

Installs: 21 586

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

4.1.0 2026-10-11 05:05 UTC

README

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