PHPackages                             doctype\_admin/settings - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. doctype\_admin/settings

ActiveLibrary[Admin Panels](/categories/admin)

doctype\_admin/settings
=======================

Doctype Admin Panel Settings Plugin

v1.0.4(5y ago)579MITBladeCI failing

Since Aug 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pratiksh404/doctype_admin_settings)[ Packagist](https://packagist.org/packages/doctype_admin/settings)[ RSS](/packages/doctype-admin-settings/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

[![Doctype Admin Setting](https://github.com/pratiksh404/doctype_admin_settings/raw/master/screenshots/doctype_admin_settings.jpg)](https://github.com/pratiksh404/doctype_admin_settings/blob/master/screenshots/doctype_admin_settings.jpg)[![Issues](https://camo.githubusercontent.com/39e0483d8a978b4cd51efb4947c9b0c3047818f675b24cc4c9f0558b85978da1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f70726174696b73683430342f646f63747970655f61646d696e5f73657474696e6773)](https://github.com/pratiksh404/doctype_admin_settings/issues) [![Stars](https://camo.githubusercontent.com/cddebb01f3792586cf5b3cf622b84e647f9b4150d1076f26415dcb1c469ce4f6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f70726174696b73683430342f646f63747970655f61646d696e5f73657474696e6773)](https://github.com/pratiksh404/doctype_admin_settings/stargazers) [![Downloads](https://camo.githubusercontent.com/5b51f412aac78eb6ff8838960eee8d8fe0415fc868c5b3b3a657a3331120c581/68747470733a2f2f706f7365722e707567782e6f72672f64726832736f342f7468756d626e61696c2f646f776e6c6f616473)](https://camo.githubusercontent.com/5b51f412aac78eb6ff8838960eee8d8fe0415fc868c5b3b3a657a3331120c581/68747470733a2f2f706f7365722e707567782e6f72672f64726832736f342f7468756d626e61696c2f646f776e6c6f616473)

Laravel 7 Admin Panel Settings Plugin for lazy developers.
----------------------------------------------------------

[](#laravel-7-admin-panel-settings-plugin-for-lazy-developers)

#### Contains : -

[](#contains---)

- Setting Management System

### Installation

[](#installation)

Run Composer Require Command

```
composer require doctype_admin/settings
```

Then migrate database
---------------------

[](#then-migrate-database)

```
php artisan migrate
```

To use specific seed use(publish them first)

```
php artisan db:seed --class=SettingsTableSeeder
```

### If you want to modify Stuffs do..

[](#if-you-want-to-modify-stuffs-do)

### Install package assets

[](#install-package-assets)

#### Install all assets

[](#install-all-assets)

```
php artisan DoctypeAdminSetting:install -a
```

This command will publish

- config file named Setting.php
- views files of setting
- migrations files
- seed files

#### Install config file only

[](#install-config-file-only)

```
php artisan DoctypeAdminSetting:install -c
```

#### Install view files only

[](#install-view-files-only)

```
php artisan DoctypeAdminSetting:install -f
```

#### Install migrations files only

[](#install-migrations-files-only)

```
php artisan DoctypeAdminSetting:install -m
```

#### Install seed files only

[](#install-seed-files-only)

```
php artisan DoctypeAdminSetting:install -d
```

Note
----

[](#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'
----------------------------------------------------------------------------------------------------------------------

[](#to-add-the-package-route-link-to-be-accesable-from-sidemenu-just-add-following-on-configadminltephp-under-key-menu)

```
        [
            'text' => 'Setting',
            'icon' => 'fas fa-cog',
            'url' => 'admin/setting'
        ],
```

Setting Plugin Consists following input fields
----------------------------------------------

[](#setting-plugin-consists-following-input-fields)

- Text Field
- Rich Textarea
- Image
- Select
- Radio
- Checkbox

How to access setting value ?
-----------------------------

[](#how-to-access-setting-value-)

We can access setting's assigned value globally by simply using blade directive like

```
{{@setting('setting_name')}} // setting_name is one you make while you are creating setting (should be lower cap with space replaced by underscore(_) : Recommended)
```

e.g
---

[](#eg)

if we have a setting and you name that setting "Site name" then to use the value assigned to that setting use

```
{{@setting('site_name')}}
```

Customization
-------------

[](#customization)

It uses JSON object to customize the input fields.

Customization Objects
---------------------

[](#customization-objects)

ObjectsFunctionvalueRetives all featured postsplaceholderGives the input field placeholderclassAdds the given classidAdds the given idstyleGives the stylingdefaultMakes the mention value as default value eg like in select dropdown or checkboxcheckedMakes the checkbox checked as defaultoptionsOptions given for select options, radio optionsExample
-------

[](#example)

Simple Text Field Setting Customization

```
{
  "class" : "my_class",
  "id" : "my_id",
  "value" : "Doctype Admin",
  "placeholder" : "Site Title Here!!",
  "style" : {
    "color" : "red"
  }
}
```

Simple Rich Textarea Setting Customization

```
{
  "class" : "my_class",
  "id" : "another_id",
  "placeholder" : "Rich Text Placeholder",
  "style" : {
    "color" : "red"
  }
```

Simple Select Field Setting Customization

```
{
  "default" : "1",
  "options" : {
    "1" : "option 1",
    "2" : "option 2"
  }
}
```

Simple Radio Field Setting Customization Note type object is mandatory defining whetjer the value to be stored is integer or string type

```
{
  "type" : "integer",
   "checked" : "1",
  "options" : {
  "1" : "Pratik Shrestha",
  "2" : "DRH2SO4"
            },
"style": {
  "color" : "red"
      }
}
```

Simple Image Field Setting Customization

```
{
  "image" : {
    "fit" : {
      "width" : "300",
      "height" : "300"
    },
    "quality" : "80"
  }
}
```

Note
----

[](#note-1)

When using select and radio giving options object in customization is mandatory

### Admin Panel Screenshot

[](#admin-panel-screenshot)

[![Doctype Admin Setting](https://github.com/pratiksh404/doctype_admin_settings/raw/master/screenshots/setting.jpg)](https://github.com/pratiksh404/doctype_admin_settings/blob/master/screenshots/setting.jpg)[![Doctype Admin Setting](https://github.com/pratiksh404/doctype_admin_settings/raw/master/screenshots/setting_make.jpg)](https://github.com/pratiksh404/doctype_admin_settings/blob/master/screenshots/setting_make.jpg)[![Doctype Admin Setting](https://github.com/pratiksh404/doctype_admin_settings/raw/master/screenshots/setting_custom.jpg)](https://github.com/pratiksh404/doctype_admin_settings/blob/master/screenshots/setting_custom.jpg)

### Todos

[](#todos)

- Better Confile File Control
- Maintainabilty
- More flexible customization
- Adding Exceptions

Package Used
------------

[](#package-used)

-

License
-------

[](#license)

MIT

**DOCTYPE NEPAL ||DR.H2SO4**

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Total

5

Last Release

2094d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/001849cfcd496d28474179bde8e510e82ea2ff8b32291d2ac8fc905a754512e0?d=identicon)[pratiksh404](/maintainers/pratiksh404)

---

Top Contributors

[![pratiksh404](https://avatars.githubusercontent.com/u/40533219?v=4)](https://github.com/pratiksh404 "pratiksh404 (24 commits)")

---

Tags

doctype-admindoctype-admin-paneldoctype-admin-settingdoctype-admin-setting-plugindoctype-nepal

### Embed Badge

![Health badge](/badges/doctype-admin-settings/health.svg)

```
[![Health](https://phpackages.com/badges/doctype-admin-settings/health.svg)](https://phpackages.com/packages/doctype-admin-settings)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[code16/sharp

Laravel Content Management Framework

79164.7k8](/packages/code16-sharp)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19346.6k3](/packages/symfony-ux-cropperjs)[eveseat/web

SeAT Web Interface

2623.5k158](/packages/eveseat-web)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
