0.1.9 • Published 4 years ago

@smarterlabs/omni-php v0.1.9

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Omni PHP Plugin

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

Installation

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

or

yarn add @smarterlabs/omni-php

Usage

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

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

omni.watch()

Example