chisphefo / rialto
Manage Node resources from PHP
v1.4.1
2022-07-20 12:50 UTC
Requires
- php: >=7.1
- clue/socket-raw: ^1.6
- psr/log: ^3.0
- symfony/process: ^3.3|^4.0|^5.0|^6.0
Requires (Dev)
- monolog/monolog: ^1.23
- phpunit/phpunit: ^6.5|^7.0|^9.5
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.1 and Node >= 8.
Install it in your project:
composer require nesk/rialto npm install @nesk/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.