PHPackages                             rindow/rindow-neuralnetworks - 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. rindow/rindow-neuralnetworks

ActiveLibrary

rindow/rindow-neuralnetworks
============================

Neural networks library for deep learning

2.2.3(1y ago)8711.3k13[7 issues](https://github.com/rindow/rindow-neuralnetworks/issues)BSD-3-ClausePHPPHP ^8.1CI passing

Since Feb 4Pushed 1y ago8 watchersCompare

[ Source](https://github.com/rindow/rindow-neuralnetworks)[ Packagist](https://packagist.org/packages/rindow/rindow-neuralnetworks)[ RSS](/packages/rindow-rindow-neuralnetworks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (32)Used By (0)

Rindow Neural networks
======================

[](#rindow-neural-networks)

Status: [![Build Status](https://github.com/rindow/rindow-neuralnetworks/workflows/tests/badge.svg)](https://github.com/rindow/rindow-neuralnetworks/actions)[![Downloads](https://camo.githubusercontent.com/305cc10bd12c0137af6601a6bc4a03b54aad5982187858ed68a4f9704776ceee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72696e646f772f72696e646f772d6e657572616c6e6574776f726b73)](https://packagist.org/packages/rindow/rindow-neuralnetworks)[![Latest Stable Version](https://camo.githubusercontent.com/4e11118ac030741ba9a10b7b8c3e28f872baf9318173669464afcc8675a919d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72696e646f772f72696e646f772d6e657572616c6e6574776f726b73)](https://packagist.org/packages/rindow/rindow-neuralnetworks)[![License](https://camo.githubusercontent.com/c0e7ca5e720b0de5b70d24692596df4dc1c7d06fd7a29d76e3cb373024154fe7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72696e646f772f72696e646f772d6e657572616c6e6574776f726b73)](https://packagist.org/packages/rindow/rindow-neuralnetworks)

Rindow Neural Network Library is a high-level neural network library for deep learning.

Overview
--------

[](#overview)

Like Keras in Python, you can easily write network models in PHP.

Website:

- Rindow project:
- Rindow Neural Networks:

Speeding up
-----------

[](#speeding-up)

The external libraries rindow-matlib and OpenBLAS can be used to perform calculations at speeds close to CPU versions of TensorFlow. Models trained on laptops are available on popular web hosting. Deep learning is also available on popular PHP web hosting services.

GPU acceleration
----------------

[](#gpu-acceleration)

It supports GPU acceleration using OpenCL. You can also use GPUs other than n-vidia if they support OpenCL. It can also be used with an integrated GPU installed in your laptop.

Linked library
--------------

[](#linked-library)

- Rindow Math Matrix: Scientific calculation library
- Rindow Matlib: A fast matrix calculation library suitable for machine learning
- OpenBLAS: Fast Matrix Arithmetic Library
- Rindow Math Plot: Visualize machine learning results
- OpenCL: GPU computational programming interface
- CLBlast: High-speed matrix calculation library using OpenCL

Required environment
--------------------

[](#required-environment)

- PHP 8.1, 8.2, 8.3, 8.4
- For PHP 7.x, 8.0 environments, use Release 1.x.

Install
-------

[](#install)

> Click [here](https://rindow.github.io/neuralnetworks/install.html) for detailed instructions.

Please prepare in advance:

- Install php-cli, php-gd, and php-sqlite3 in advance using the method appropriate for each operating system.
- Install composer

Please install using Composer.

```
$ composer require rindow/rindow-neuralnetworks
$ composer require rindow/rindow-math-plot
```

If you use it as is, it will take time to learn. In order to increase speed, we strongly recommend that you install a high-speed calculation library.

Please set up an external library.

Prebuilt binaries:

- Rindow-matlib:
- OpenBLAS:

Please set up according to your environment. Click [here](https://github.com/rindow/rindow-math-matrix-matlibffi) for detailed instructions.

```
$ composer require rindow/rindow-math-matlibffi
```

memory expansion:

Depending on the amount of data you use, you may need to increase the maximum amount of memory that PHP uses.

Especially when dealing with image data, the amount of sample data becomes enormous and requires more memory capacity than expected.

For example, change memory\_limit in php.ini as follows.

memory\_limit = 8G

Model description
-----------------

[](#model-description)

The sample directory provides source code for simple image learning.

Please run as follows:

```
$ RINDOW_MATH_PLOT_VIEWER=/path/to/viewer
$ export RINDOW_MATH_PLOT_VIEWER
$ mkdir samples
$ cd samples
$ cp ../vendor/rindow/rindow-neuralnetworks/samples/basic-image-clasification.php .
$ php basic-image-clasification.php
```

\*Please specify an appropriate viewer for RINDOW\_MATH\_PLOT\_VIEWER. (ex. viewnior)

If done correctly, a graph of the learning process will be displayed.

GPU/OpenCL support
------------------

[](#gpuopencl-support)

Please download the binary.

- CLBlast:

Set up the binary files according to your environment. Detailed instructions here

Please set environment variables.

```
$ RINDOW_NEURALNETWORKS_BACKEND=rindowclblast::GPU
$ export RINDOW_NEURALNETWORKS_BACKEND
$ cd samples
$ php basic-image-classification.php
```

\*For RINDOW\_NEURALNETWORKS\_BACKEND, you can specify not only a name such as rindowclblast, but also the OpenCL device type and a set of Platform-ID and Device-ID. For example, "rindowclblast::GPU" or "rindowclblast::0,0"

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance44

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~64 days

Recently: every ~82 days

Total

30

Last Release

417d ago

Major Versions

1.4.0 → 2.0.02022-06-20

PHP version history (5 changes)1.0.0PHP &gt;=7.2

1.4.0PHP ^7.2|^7.3|^7.4|^8.0

2.0.0PHP ^8.0|^8.1

2.0.3PHP ^8.0|^8.1|^8.2

2.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/d06646842e737ff51d26230fde1c977f60763e198eb82946c1a64f8aa90d743b?d=identicon)[yuichiis](/maintainers/yuichiis)

---

Top Contributors

[![yuichiis](https://avatars.githubusercontent.com/u/6028098?v=4)](https://github.com/yuichiis "yuichiis (41 commits)")

---

Tags

cnnconvolutional-neural-networksdeep-learningdnngpgpugpumachine-learningmlneural-networkopenblasopenclphpphp8recurrent-neural-networksrnntransformersmachine learninglearningDeep learningrindowNeuralnetworksdeep

### Embed Badge

![Health badge](/badges/rindow-rindow-neuralnetworks/health.svg)

```
[![Health](https://phpackages.com/badges/rindow-rindow-neuralnetworks/health.svg)](https://phpackages.com/packages/rindow-rindow-neuralnetworks)
```

###  Alternatives

[rubix/ml

A high-level machine learning and deep learning library for the PHP language.

2.2k1.4M28](/packages/rubix-ml)[codewithkyrian/transformers

State-of-the-art Machine Learning for PHP. Run Transformers in PHP

749231.8k5](/packages/codewithkyrian-transformers)[nlp-tools/nlp-tools

NlpTools is a set of php 5.3+ classes for beginner to semi advanced natural language processing work.

774645.2k5](/packages/nlp-tools-nlp-tools)[davmixcool/php-sentiment-analyzer

PHP Sentiment Analyzer is a lexicon and rule-based sentiment analysis tool that is used to understand sentiments in a sentence using VADER (Valence Aware Dictionary and sentiment Reasoner).

138151.7k1](/packages/davmixcool-php-sentiment-analyzer)[php-ai/php-ml

PHP-ML - Machine Learning library for PHP

1061.7M12](/packages/php-ai-php-ml)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
