Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maymeow/cakephp-bootstrap

🌈 Bootstrap plugin and bake template for CakePHP
https://github.com/maymeow/cakephp-bootstrap

bootstrap4 cakephp-plugin cakephp3 fontawesome5 hacktoberfest html5 templates

Last synced: 26 days ago
JSON representation

🌈 Bootstrap plugin and bake template for CakePHP

Awesome Lists containing this project

README

        

# Bootstrap plugin for CakePHP

## Installation

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require maymeow/cake-bootstrap
```

## Configuration

Copy configuration file

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

and load it in your bootstrap config file

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

Load helpers in you `AppView`

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

## Using bake templates

Run from command line

```shell
bin/cake bake template --theme CakeBootstrap
```