Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zswang/jphps

Unmarked PHP template
https://github.com/zswang/jphps

php template

Last synced: about 1 month ago
JSON representation

Unmarked PHP template

Awesome Lists containing this project

README

        

jphps(<%>)
-----

# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]

## 处理前

```html
function renderItem($item) {
if (isset($item)) {


  • #{$item['title']}

  • }
    }


      renderItem(array('url' => 'http://google.com/', 'title' => 'Google'));
      renderItem(array('url' => 'http://www.baidu.com/', 'title' => '百度'));

    ```

    ## 处理后

    ```php




    • 'http://google.com/', 'title' => 'Google'));
      renderItem(array('url' => 'http://www.baidu.com/', 'title' => '百度')); ?>

    ```

    ## 运行后

    ```html


    ```

    ## License

    MIT © [zswang](http://weibo.com/zswang)

    [npm-url]: https://npmjs.org/package/jphps
    [npm-image]: https://badge.fury.io/js/jphps.svg
    [travis-url]: https://travis-ci.org/zswang/jphps
    [travis-image]: https://travis-ci.org/zswang/jphps.svg?branch=master
    [coverage-url]: https://coveralls.io/github/zswang/jphps?branch=master
    [coverage-image]: https://coveralls.io/repos/zswang/jphps/badge.svg?branch=master&service=github