# pug-php-filter

> A php filter for pug

Latest version **0.0.1** (published 2016-12-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install pug-php-filter
pnpm add pug-php-filter
yarn add pug-php-filter
bun add pug-php-filter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-12-29 |
| First published | 2016-12-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Khalid Hoffman |
| Maintainers | khalidhoffman |
| Keywords | pug, php, filter, pugjs, jade |

## Links

- npm: https://www.npmjs.com/package/pug-php-filter
- Repository: https://github.com/khalidhoffman/pug-php-filter
- Homepage: https://github.com/khalidhoffman/pug-php-filter#readme
- Issues: https://github.com/khalidhoffman/pug-php-filter/issues
- npm.io page: https://npm.io/package/pug-php-filter

## Recent versions

- 0.0.1 (latest) — 2016-12-29

## README

# pug-php-filter

## What it does

`pug-php-filter` provides a pug php filter

```
:php
    echo "hello world";
```
renders:

```
<?php echo "hello world"; ?>
```

## How to use

Here's an example: 

```
var pug = require('pug'),
    pugPHPFilter = require('pug-php-filter');

pug.renderFile('path/to/pug/file', {
    filters: {
        php: pugPHPFilter
    }
});

```

---
_Source: https://npm.io/package/pug-php-filter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
