Socket
Socket
Sign inDemoInstall

node-ffi-php-bindings

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-ffi-php-bindings

Generated node-ffi bindings for PHP source code. Embed PHP from node.js w/o creating your own node extension.


Version published
Weekly downloads
19
increased by1800%
Maintainers
1
Install size
605 kB
Created
Weekly downloads
 

Readme

Source

node-ffi-php-bindings

JavaScript node-ffi bindings for embedding PHP in node-js apps.

Current status: Loads and can be used to execute PHP code from node. The bindings do not differentiate between 'char*' and 'string' node-ffi types, so when passing strings you have to use ref.allocCString(...) and buffer.readCString().

See proof of concept code here: https://github.com/diosmosis/lighttable-php/blob/master/components/zend/zend.service.js

Keywords

FAQs

Last updated on 14 Dec 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc