Installation
Composer is the recommended installation path when the package is available to the consuming project.
composer require batoi/aifIf the package is not available through Packagist, add the public GitHub repository to the consuming project's composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/batoisystems/batoi-aif.git"
}
]
}ZIP Or Drop-In Install
Use ZIP/drop-in installation only when the target project does not use Composer.
Recommended approach:
- download the GitHub ZIP
- place the package in a controlled application library path
- load
autoload.phpfrom the reviewed source directory - keep the package version visible in deployment notes
require_once __DIR__ . '/vendor/batoi/aif/autoload.php';Verification
After installation:
php -v
php -m | grep curl
php -r "require 'vendor/autoload.php'; echo class_exists('Batoi\\\\Aif\\\\Gateway\\\\AifGateway') ? 'ok' : 'missing';"
vendor/bin/aif-doctor.php
vendor/bin/aif-config-check.phpAdjust the autoload path for ZIP/drop-in deployments.
The package also exposes aif-smoke.php and aif-rad-schema-check.php. Run the schema check only for a configured RAD/MySQL deployment.