@smarterlabs/omni-plugin-php

0.1.12 • Public • Published

Omni PHP Plugin

A plugin that allows you to run PHP in Omni-Directional Documents.

Installation

npm install @smarterlabs/omni-plugin-php --save-dev

or

yarn add @smarterlabs/omni-pugin-php

Usage

import Omni  from '@smarterlabs/omni'
import omniPHP from '@smarterlabs/omni-plugin-php'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniPHP(),
  ],
})

omni.watch()

Example


```php run
echo "Hello world!";
```

Package Sidebar

Install

npm i @smarterlabs/omni-plugin-php

Weekly Downloads

0

Version

0.1.12

License

MIT

Unpacked Size

10.3 kB

Total Files

4

Last publish

Collaborators

  • ken85rose