承接 alaxos/cakephp3-bootstrap-theme 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

alaxos/cakephp3-bootstrap-theme

最新稳定版本:3.7.1

Composer 安装命令:

composer require alaxos/cakephp3-bootstrap-theme

包简介

Bootstrap bake templates for CakePHP 3

README 文档

README

Bootstrap bake templates for CakePHP 3

General Features

  • Bootstrap templates that use the enhanced FormHelper and some other tools from the alaxos/cakephp3-libs plugin

Installation

Adding the plugin

You can easily install this plugin using composer as follows:

composer require alaxos/cakephp3-bootstrap-theme

Enabling the plugin

After adding the plugin remember to load it in your config/bootstrap.php file. The Alaxos plugin must be loaded as well.

Plugin::load('Alaxos', ['bootstrap' => true]);
Plugin::load('Alaxos/BootstrapTheme');

Using the plugin with bake

$ ./bin/cake bake model Users --theme Alaxos/BootstrapTheme

Load Bootstrap CSS and JS

You may use the following functions to load Bootstrap CSS and JS in your template:

<?php 
echo $this->AlaxosHtml->includeBootstrapCSS(['block' => false]);
echo $this->AlaxosHtml->includeBootstrapThemeCSS(['block' => false]);
echo $this->AlaxosHtml->includeAlaxosCSS(['block' => false]);
	
echo $this->AlaxosHtml->includeAlaxosJQuery(['block' => false]);
echo $this->AlaxosHtml->includeAlaxosBootstrapJS(['block' => false]);
?>

统计信息

  • 总下载量: 2.84k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 1
  • Forks: 3
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-15