2017 © Pedro Peláez
 

library smarty

改自latrell/smarty,增加配置项,让其支持fis smarty插件的配置项.

image

x-bird/smarty

改自latrell/smarty,增加配置项,让其支持fis smarty插件的配置项.

  • Thursday, June 22, 2017
  • by x-bird
  • Repository
  • 1 Watchers
  • 3 Stars
  • 181 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 15 Forks
  • 0 Open issues
  • 7 Versions
  • 41 % Grown

The README.md

Laravel 5.4 + Fis3 静态资源管理系统

安装

composer require x-bird/smarty

配置

  • config/app.php 文件中配置:
    'providers' => array(
        // ...
        Xbird\Smarty\SmartyServiceProvider::class,
    )
  • 执行发布配置文件:php artisan vendor:publish --provider="Xbird\Smarty\SmartyServiceProvider" --tag=config --tag=plugins

使用

  • 加入providers:
  • 假设有模板文件views/blog/post.tpl,那controller中是这样渲染的,View::make('blog.post')
  • 关于 {include}{extends} 标签的参数传递, 需要使用全路径的写法, 例如: {extends file="blog/post.tpl"}

配置项解释

  • 模板放置路径:template_path
  • 模板缓存路径:cache_path
  • 模板编译路径:compile_path
  • fis3 产出的namespace-map.json 放置路径:configs_paths

The Versions

22/06 2017

dev-master

9999999-dev

改自latrell/smarty,增加配置项,让其支持fis smarty插件的配置项.

  Sources   Download

MIT

The Requires

 

by Avatar x-bird

laravel templating smarty view fis fis smarty

03/06 2017

1.4

1.4.0.0

改自latrell/smarty,增加配置项,让其支持fis smarty插件的配置项.

  Sources   Download

MIT

The Requires

 

by Avatar x-bird

laravel templating smarty view fis fis smarty

03/06 2017

dev-develop

dev-develop

改自latrell/smarty,增加配置项,让其支持fis smarty插件的配置项.

  Sources   Download

MIT

The Requires

 

by Avatar x-bird

laravel templating smarty view fis fis smarty

03/06 2017

1.3

1.3.0.0

改自latrell/smarty,增加配置项,让其支持fis smarty插件的配置项.

  Sources   Download

MIT

The Requires

 

by Avatar x-bird

laravel templating smarty view fis fis smarty

13/10 2014

1.2

1.2.0.0

This package lets you run Smarty3 on Laravel4 elegantly.

  Sources   Download

MIT

The Requires

 

by Latrell Chan

laravel templating laravel 4 smarty view smarty 3 l4

27/06 2014

1.1

1.1.0.0

This package lets you run Smarty3 on Laravel4 elegantly.

  Sources   Download

MIT

The Requires

 

by Latrell Chan

laravel templating laravel 4 smarty view smarty 3 l4

25/04 2014

1.0

1.0.0.0

This package lets you run Smarty3 on Laravel4 elegantly.

  Sources   Download

MIT

The Requires

 

by Latrell Chan

laravel templating laravel 4 smarty view smarty 3 l4