infuse / admin
Admin module for Infuse Framework
Installs: 1 514
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Language:JavaScript
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2024-12-13 08:30:28 UTC
README
Admin module for Infuse Framework
Installation
- Install the package with composer:
composer require infuse/admin
- Copy the CSS and JS files into the
public
directory. If you use the minified versions, be sure they are renamed tocss/admin.css
andjs/admin.js
.
Admin properties for models
- admin_type:
Type of field for admin
String
Default: text
Available Types:
- text
- textarea
- checkbox
- datepicker
- enum
- password
- json
- html Optional
- admin_enum:
Key-value list of enumeration values when admin_type =
enum
. Array - admin_hidden_property Hides the property by default when browsing models in the admin dashboard. Boolean Default: false Optional
- admin_html: An HTML string that will have values from the model injected. Only used in the admin dashboard. String Example: {username} Optional
- admin_no_sort: Prevents the column from being sortable in the admin dashboard Boolean Default: false Optional
- admin_no_wrap: Prevents the column from wrapping in the admin dashboard Boolean Default: false Optional
- admin_truncate: Prevents the column from truncating values in the admin dashboard Boolean Default: true Optional