<commit_before># LightStrap Theme for CakeAdmin

> Note: This is a non-stable plugin for CakePHP 3.x at this time. It is currently under development and should be considered experimental.

## Requisites

[Bower](http://bower.io/)
```sh 
$ npm install -g bower
```


## Installation

Install [CakePHP 3.x Helpers for Bootstrap 3](https://github.com/Holt59/cakephp3-bootstrap3-helpers)
```sh
composer require holt59/cakephp3-bootstrap3-helpers:dev-master
```


Use the following code in your `config/bootstrap.php` 
```php
Plugin::load('LightStrap', ['bootstrap' => true, 'routes' => false]);
```


Use the following code in your `src/View/AppView.php` 
```php
public function initialize()
{
	$this->loadHelper('Html', ['className' => 'Bootstrap3.BootstrapHtml']);
	$this->loadHelper('Form', ['className' => 'Bootstrap3.BootstrapForm']);
	$this->loadHelper('Paginator', ['className' => 'Bootstrap3.BootstrapPaginator']);
	$this->loadHelper('Modal', ['className' => 'Bootstrap3.BootstrapModal']);
}
```


For download the bower requirements
```
$ cd plugins/LightStrap
$ bower install
```


## Usage

[Configure CakeAdmin](https://github.com/cakemanager/cakeadmin-docs/blob/1.0/docs/general/configurations.md) to select LightStrap Theme.
```php
Configure::write('CA.theme', 'LightStrap');
```


## CakeAdmin

The plugin is [CakeAdmin](https://github.com/cakemanager/cakephp-cakeadmin) compatible!<commit_msg>Bower removed from Readme<commit_after># LightStrap Theme for CakeAdmin

> Note: This is a non-stable plugin for CakePHP 3.x at this time. It is currently under development and should be considered experimental.

## Installation

Install [CakePHP 3.x Helpers for Bootstrap 3](https://github.com/Holt59/cakephp3-bootstrap3-helpers)
```sh
composer require holt59/cakephp3-bootstrap3-helpers:dev-master
```


Use the following code in your `config/bootstrap.php` 
```php
Plugin::load('LightStrap', ['bootstrap' => true, 'routes' => false]);
```


Use the following code in your `src/View/AppView.php` 
```php
public function initialize()
{
	$this->loadHelper('Html', ['className' => 'Bootstrap3.BootstrapHtml']);
	$this->loadHelper('Form', ['className' => 'Bootstrap3.BootstrapForm']);
	$this->loadHelper('Paginator', ['className' => 'Bootstrap3.BootstrapPaginator']);
	$this->loadHelper('Modal', ['className' => 'Bootstrap3.BootstrapModal']);
}
```

## Usage

[Configure CakeAdmin](https://github.com/cakemanager/cakeadmin-docs/blob/1.0/docs/general/configurations.md) to select LightStrap Theme.
```php
Configure::write('CA.theme', 'LightStrap');
```


## CakeAdmin

The plugin is [CakeAdmin](https://github.com/cakemanager/cakephp-cakeadmin) compatible!
{'fraction_non_alphanumeric': 0.16403310759969902, 'fraction_numerical': 0.012791572610985704, 'mean_word_length': 5.853092783505154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '390490', 'n_tokens_mistral': 900, 'n_tokens_neox': 847, 'n_words': 200}