Download the PHP package hongyukeji/laravel-theme without Composer
On this page you can find all versions of the php package hongyukeji/laravel-theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-theme
laravel-theme
Laravel 主题模板功能, 这可能是我用过最优雅的laravel主题扩展
Installing
Usage
特点
利用 View::addNamespace() 和 View::prependNamespace() 实现主题模板功能
使用
templates 配置说明
- path 为每个终端模板目录路径
- template 为使用模板的目录
- default 为默认模板目录, 即找不到template模板对应的目录文件, 会自动在该参数定义的目录去查找
助手函数你可能会需要
- get_template_dir 获取给定路径下的所有目录
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT
All versions of laravel-theme with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package hongyukeji/laravel-theme contains the following files
Loading the files please wait ....