PHPackages                             coral-media/ext-fann - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. coral-media/ext-fann

ActivePhp-ext[Utility &amp; Helpers](/categories/utility)

coral-media/ext-fann
====================

FANN (Fast Artificial Neural Network) bindings for PHP

v1.0.0(3mo ago)04MITCPHP &gt;=8.1

Since Feb 14Pushed 3mo agoCompare

[ Source](https://github.com/coral-media/ext-fann)[ Packagist](https://packagist.org/packages/coral-media/ext-fann)[ RSS](/packages/coral-media-ext-fann/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

coral-media/ext-fann
====================

[](#coral-mediaext-fann)

`coral-media/ext-fann` is a PHP extension that wraps the [Fast Artificial Neural Network (FANN)](https://github.com/libfann/fann) C library using vendored sources (`lib/libfann`).

Requirements
------------

[](#requirements)

- PHP `>= 8.1`
- A C toolchain (`phpize`, `make`, compiler)
- No system `libfann-dev` required (vendored build)

Install (PIE)
-------------

[](#install-pie)

From the extension root:

```
pie install --with-fann
```

Build From Source (manual)
--------------------------

[](#build-from-source-manual)

```
phpize
./configure --with-fann
make -j"$(nproc)"
make test
```

The extension module will be built as `fann`.

Minimal Example
---------------

[](#minimal-example)

```
