https://github.com/jstransformers/jstransformer-php-runtime
PHP-Runtime support for JSTransformers
https://github.com/jstransformers/jstransformer-php-runtime
Last synced: over 1 year ago
JSON representation
PHP-Runtime support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-php-runtime
- Owner: jstransformers
- License: mit
- Created: 2017-06-17T20:45:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T04:30:09.000Z (about 6 years ago)
- Last Synced: 2025-01-21T20:15:50.874Z (over 1 year ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-php-runtime
[PHP Runtime](https://github.com/glayzzle/php-runtime) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-php-runtime)
[](https://codecov.io/gh/jstransformers/jstransformer-php-runtime)
[](http://david-dm.org/jstransformers/jstransformer-php-runtime)
[](https://www.npmjs.org/package/jstransformer-php-runtime)
## Installation
npm install jstransformer-php-runtime
## API
```js
var php = require('jstransformer')(require('jstransformer-php-runtime'))
php.render('echo "Hello, World!";').body
//=> 'Hello, World!'
```
## License
MIT