Download the PHP package doctype_admin/settings without Composer
On this page you can find all versions of the php package doctype_admin/settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download doctype_admin/settings
More information about doctype_admin/settings
Files in doctype_admin/settings
Package settings
Short Description Doctype Admin Panel Settings Plugin
License MIT
Informations about the package settings
Laravel 7 Admin Panel Settings Plugin for lazy developers.
Contains : -
- Setting Management System
Installation
Run Composer Require Command
Then migrate database
To use specific seed use(publish them first)
If you want to modify Stuffs do..
Install package assets
Install all assets
This command will publish
- config file named Setting.php
- views files of setting
- migrations files
- seed files
Install config file only
Install view files only
Install migrations files only
Install seed files only
Note
If seed class is not found try running composer dump-autoload
To add the package route link to be accesable from sidemenu just add following on config/adminlte.php under key 'menu'
Setting Plugin Consists following input fields
- Text Field
- Rich Textarea
- Image
- Select
- Radio
- Checkbox
How to access setting value ?
We can access setting's assigned value globally by simply using blade directive like
e.g
if we have a setting and you name that setting "Site name" then to use the value assigned to that setting use
Customization
It uses JSON object to customize the input fields.
Customization Objects
Objects | Function |
---|---|
value | Retives all featured posts |
placeholder | Gives the input field placeholder |
class | Adds the given class |
id | Adds the given id |
style | Gives the styling |
default | Makes the mention value as default value eg like in select dropdown or checkbox |
checked | Makes the checkbox checked as default |
options | Options given for select options, radio options |
Example
Simple Text Field Setting Customization
Simple Rich Textarea Setting Customization
Simple Select Field Setting Customization
Simple Radio Field Setting Customization Note type object is mandatory defining whetjer the value to be stored is integer or string type
Simple Image Field Setting Customization
Note
When using select and radio giving options object in customization is mandatory
Admin Panel Screenshot
Todos
- Better Confile File Control
- Maintainabilty
- More flexible customization
- Adding Exceptions
Package Used
License
MIT
DOCTYPE NEPAL ||DR.H2SO4