yeftaaw / rialto
Manage Node resources from PHP
dev-main
2023-02-25 01:50 UTC
Requires
- php: ^7.2 || ^8.0
- clue/socket-raw: ^1.2
- psr/log: ^1.0 || ^2.0 || ^3.0
- symfony/process: ^3.3 || ^4.0 || ^5.0 || ^6.0
Requires (Dev)
- monolog/monolog: ^1.0 || ^2.0 || ^3.0
- phpunit/phpunit: ^8.0 || ^9.0
Suggests
- ext-weakref: Required to run all the tests
This package is auto-updated.
Last update: 2024-04-25 04:08:25 UTC
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.