定制 hunteryun/blade 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hunteryun/blade

Composer 安装命令:

composer require hunteryun/blade

包简介

A Blade Template Engine for Drupal.

README 文档

README

A Blade Template Engine for Drupal.

Installation

With Composer, you just need to run

composer require hunteryun/blade

If you haven't use composer, you should add all the files in folder src to your project folder, and then require them in your code.

Usage

<?php

 use Hunter\Engine\BladeEngine;
 
 $path = ['/view_path'];         // your view file path, it's an array
 $cachePath = '/cache_path';     // compiled cache file path

 $engine = new BladeEngine($path, $cachePath);
 $variables['name'] = 'Drupal Hunter';

 return $engine->setTemplate('hello.html')->setParameters($variables)->render('hello.html', $variables);
 

Documentation: http://laravel.com/docs/5.3/blade

统计信息

  • 总下载量: 57
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固