lubos / cakephp-admin-ui
AdminUI plugin for CakePHP
Installs: 100
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=5.5.9
- cakephp/cakephp: ~3.0
- friendsofcake/bootstrap-ui: ^0.5.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-04 19:33:14 UTC
README
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require lubos/cakephp-admin-ui
Load plugin in bootstrap.php file
bin/cake plugin load AdminUI
Usage
Filters
Basic example
<?php
$this->Html->css('AdminUI.admin.min', ['block' => true]);
echo $this->element('AdminUI.filters', [
'sort' => [
['name', 'Name A-Z', ['direction' => 'asc']],
['name', 'Name Z-A', ['direction' => 'desc']],
],
'fields' => [
'q' => [
'placeholder' => 'Filter by title'
],
],
]);
?>
Bugs & Features
If you want to help, pull requests are welcome.