maymeow/cake-bootstrap

CakeBootstrap plugin for CakePHP

Installs: 113

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 24

Language:HTML

Type:cakephp-plugin


README

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require maymeow/cake-bootstrap

Configuration

Copy configuration file

cp vendor/maymeow/cake-bootstrap/config/cake_bootstrap.php config/cake_bootstrap.php

and load it in your bootstrap config file

Configure::load('cake_bootstrap', 'default', false);

Load helpers in you AppView

$this->loadHelper('Form', [
    'templates' => 'CakeBootstrap.bootstrap_form'
]);
$this->loadHelper('CakeBootstrap.Bootstrap');

Using bake templates

Run from command line

bin/cake bake template <YourModel> --theme CakeBootstrap