zoon / rialto
Manage Node resources from PHP
v1.5.3
2024-09-21 01:08 UTC
Requires
- php: ^7.2 || ^8.0
- ext-json: *
- clue/socket-raw: ^1.2
- psr/log: ^1.0 || ^2.0 || ^3.0
- symfony/process: ^3.3 || ^4.0 || ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- monolog/monolog: ^1.0 || ^2.0 || ^3.0
- phpunit/phpunit: ^8.0 || ^9.0 || ^10
Suggests
- ext-weakref: Required to run all the tests
README
A package to manage Node resources from PHP. It can be used to create bridges to interact with Node libraries in PHP, like PuPHPeteer.
It works by creating a Node process and communicates with it through sockets.
Requirements and installation
Rialto requires PHP >= 7.2 and Node >= 8.
Install it in your project:
composer require zoon/rialto npm install https://github.com/zoonru/rialto
Usage
See our tutorial to create your first bridge with Rialto.
An API documentation is also available.
License
The MIT License (MIT). Please see License File for more information.