PHPackages                             iflow/template - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. iflow/template

ActiveLibrary[Templating &amp; Views](/categories/templating)

iflow/template
==============

iflow\_template

v0.0.1(1y ago)0451MulanPSL-2.0PHPPHP &gt;=8.0.0

Since Oct 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/luotianyil/iflow_template)[ Packagist](https://packagist.org/packages/iflow/template)[ RSS](/packages/iflow-template/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

iflow\_template
===============

[](#iflow_template)

基于DOM渲染的 PHP模板引擎

安装
==

[](#安装)

```
composer require iflow/template
```

使用方法
====

[](#使用方法)

> 视图文件代码

```
>

        测试渲染

    $test

        $i

        $number

        $test

    $test
    才不是嘞

        // PHP 代码块
        $a = "123";
        function test() {
            return "123123";
        }
        echo $a.test();

```

> PHP调用代码

```
