PHP code example of lubos / cakephp-admin-ui
1. Go to this page and download the library: Download lubos/cakephp-admin-ui library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lubos / cakephp-admin-ui example snippets
$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'
],
],
]);