Skip to main content
Batoi AIF Docs

Installation

Install Batoi AIF with Composer or as a ZIP/drop-in package.

Version Foundation release Early foundation work Reviewed Jul 21, 2026 Next review Sep 21, 2026

Owner: Batoi Engineering Reviewed by: Batoi AIF Maintainers Source revision: cd680e8

AIF is the public engineering framework. For the managed intelligence capability used across supported Platform and Flex workflows, see Batoi Intelligence.
Browse Batoi AIF Documentation Installation

Installation

Composer is the recommended installation path when the package is available to the consuming project.

composer require batoi/aif

If 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.php from 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.php

Adjust 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.