mifiel / api-client
Mifiel API Client for PHP
4.1.0
2026-10-11 05:05 UTC
Requires
- php: >=8.3
- guzzlehttp/guzzle: ^7.0 || ^8.0
Requires (Dev)
- mockery/mockery: ^1.6
- phpunit/phpunit: ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-10-11 05:05:50 UTC
README
PHP SDK for the Mifiel API.
Documentation
API reference, guides, and examples:
- English: https://docs.mifiel.com/en/
- Español: https://docs.mifiel.com/es/
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
- Create an account (production or sandbox).
- Generate an
APP_IDandAPP_SECRETin Access Tokens. - 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
- Fork it (https://github.com/Mifiel/php-api-client/fork)
- Create your feature branch (
git checkout -b feature/my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin feature/my-new-feature) - Create a new Pull Request