rubix / tensor
A library that provides objects for scientific computing in PHP.
Fund package maintenance!
4.1.0
2026-10-07 21:49 UTC
Requires
- php: >=8.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpbench/phpbench: ^1.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^12.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-07 21:58:25 UTC
README
A library that provides objects for scientific computing in PHP.
The Tensor PHP extension has moved to https://github.com/RubixML/Tensor-Ext. It shares the same API as the PHP library but is much faster. We recommend it over this library for most use cases.
Requirements
- PHP 8.3 or above
Installation
Install Tensor into your project with Composer:
$ composer require rubix/tensor
Documentation
Documentation can be found in the docs folder.
Contributing
See CONTRIBUTING.md for guidelines.
License
The code is licensed MIT and the documentation is licensed CC BY-NC 4.0.