rf1705/blade-helpers
最新稳定版本:v1.1.4
Composer 安装命令:
composer require rf1705/blade-helpers
包简介
Add includeOnce Blade directive
关键字:
README 文档
README
Adds a new Blade-Directive @includeOnce
Installation
You can install it using Composer:
composer require hebinet/blade-helpers
Usage
The directive has the same footprint as the native Laravel @include directive.
You can use it like this:
@includeOnce({view to include}) {{-- Or --}} @includeOnce({view to include}, {data to pass through})
Examples
{{-- Will include the view 'include-test' once --}} @includeOnce('include-test') {{-- Or you can even pass some data to the view --}} @includeOnce('include-test', ['data'=>4])
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email office@hebinet.at instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 8.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-04