antoniogweb/php2xai

AI framework with a PHP frontend and a C++ runtime.

Maintainers

Package info

github.com/antoniogweb/PHP2xAI

pkg:composer/antoniogweb/php2xai

Transparency log

Statistics

Installs: 16

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

v0.5.1 2026-09-01 09:48 UTC

This package is auto-updated.

Last update: 2026-09-01 09:52:10 UTC


README

AI framework with a PHP frontend and a C++ runtime, designed for training and inference of custom neural networks.

PHP handles dataset preparation, computational graph configuration, and training orchestration, while the C++ runtime performs high-performance numerical computation. PHP2xAI is built for experimentation, full architectural control, and integration into web-based applications.

Installation

composer require antoniogweb/php2xai

Technical documentation

The complete technical guide is available in the PHP2XAI documentation.

It covers:

  • architecture and runtime design;
  • installation and first model creation;
  • tensors, shapes, and operations;
  • computational graph construction;
  • datasets and batch training;
  • PHP and C++ runtimes;
  • inference and model serialization;
  • dropout and training/evaluation modes;
  • custom models and runtime extensions;
  • debugging and troubleshooting.

Quick start

use PHP2xAI\Tensor\Tensor;

$x = Tensor::zeros([2, 3]);

Browse the complete guide starting with Introduction and architecture.