All Projects → terranc → think-blade

terranc / think-blade

Licence: other
Blade template engine with thinkphp 5. (component & slot support)

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to think-blade

A3Mall
A3Mall B2C开源商城系统使用Thinkphp6开源框架,前端采用uniapp开发,支持微信公众号商城、H5商城、小程序商城、APP商城、PC商城,前后端源码100%开源,支持免费商用。
Stars: ✭ 142 (+317.65%)
Mutual labels:  thinkphp
Wolf-Blog-thinkphp6.0
ThinkPHP6.x 博客
Stars: ✭ 26 (-23.53%)
Mutual labels:  thinkphp
freechat
🐶 online anonymous chat application.
Stars: ✭ 31 (-8.82%)
Mutual labels:  blade
think-jwt
ThinkPHP Jwt 扩展包
Stars: ✭ 71 (+108.82%)
Mutual labels:  thinkphp
kirby-blade
Enable Blade for Kirby 3
Stars: ✭ 14 (-58.82%)
Mutual labels:  blade
jwt-auth
JSON Web Token Authentication for Thinkphp
Stars: ✭ 113 (+232.35%)
Mutual labels:  thinkphp
acgice
🍭 Acgice search A multi-language aggregate search engine , Acgice 搜索 基于TP5的一个多语言的聚合搜索引擎。
Stars: ✭ 23 (-32.35%)
Mutual labels:  thinkphp
say-love-wall
💖 由ThinkPHP5框架开发即开箱可用的告白墙、校园表白墙。表白可以通过发送邮箱告知对方,也可以分享表白内容。更多趣味查看 README.md 或网站。
Stars: ✭ 32 (-5.88%)
Mutual labels:  thinkphp
exam-sys
exam-system 郑轻考试系统
Stars: ✭ 15 (-55.88%)
Mutual labels:  thinkphp
jigsaw-docs-template
Starter template for a documentation site, using Jigsaw by Tighten
Stars: ✭ 39 (+14.71%)
Mutual labels:  blade
selene
A opinionated Wordpress base theme based on Sage.
Stars: ✭ 31 (-8.82%)
Mutual labels:  blade
think-permission
ThinkPHP 6 权限认证
Stars: ✭ 32 (-5.88%)
Mutual labels:  thinkphp
laravel-pagetitle
Laravel package for managing page titles in blade views
Stars: ✭ 19 (-44.12%)
Mutual labels:  blade
uchroma
An advanced driver for Razer Chroma hardware in Linux
Stars: ✭ 45 (+32.35%)
Mutual labels:  blade
laravel-easyblade
Create an easier & readable Blade (view) in Laravel with EasyBlade
Stars: ✭ 64 (+88.24%)
Mutual labels:  blade
blade
A simple, fast, clean, and dynamic language that allows you to develop applications quickly.
Stars: ✭ 113 (+232.35%)
Mutual labels:  blade
think-whoops
Whoops 接管 ThinkPHP6 异常服务
Stars: ✭ 37 (+8.82%)
Mutual labels:  thinkphp
phpshow
phpshow,简单易用的php框架
Stars: ✭ 14 (-58.82%)
Mutual labels:  thinkphp
ztbcms
高性能、模块化、极速开发PHP Web框架
Stars: ✭ 40 (+17.65%)
Mutual labels:  thinkphp
manage
基于vue-cli与thinkphp的简单登录注册系统
Stars: ✭ 71 (+108.82%)
Mutual labels:  thinkphp

Think-Blade

Blade template engine with thinkphp 5. (component & slot support)

Installation

composer require terranc/think-blade

conig.php:

'template'               => [
        // 模板引擎类型 支持 php think 支持扩展
        'type'         => 'Blade',
        // 模板路径
        'view_path'    => '',
        // 模板后缀
        'view_suffix'  => 'blade.php',
        // 模板文件名分隔符
        'view_depr'    => DIRECTORY_SEPARATOR,
        // 模板引擎普通标签开始标记
        'tpl_begin'    => '{{',
        // 模板引擎普通标签结束标记
        'tpl_end'      => '}}',
        'tpl_raw_begin'    => '{!!',
        'tpl_raw_end'    => '{!!',
        // 标签库标签开始标记
        'taglib_begin' => '{',
        // 标签库标签结束标记
        'taglib_end'   => '}',
    ],

Usage

<header id="navbar">
	<div class="row navbar-inner">
		<div class="col-xs-6 brand-block">
			<h4><a href="{{ url('/admin') }}"><img src="/assets/admin/images/logo.png"></a> · 管理后台
			</h4>
			<a href="javascript:;" class="cd_nav_trigger"><span></span></a>
		</div>
		<div class="col-xs-6 text-right user-block">
			你好,{{ $manage_user->nickname }}({{ $manage_user->username }})
			<span class="gap-line"></span>
			<a href="{{ url('/manage/index/account') }}" class="item">修改资料</a>
			<span class="gap-line"></span>
			<a href="{{ url('/manage/start/logout') }}" class="confirm item" title="确认要退出吗?">退出</a>
		</div>
	</div>
</header>

DOC

https://laravel.com/docs/5.4/blade

http://d.laravel-china.org/docs/5.4/blade (中文)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].