PHPackages                             dodsoftware/dynamic-field-hints-for-backpack - 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. dodsoftware/dynamic-field-hints-for-backpack

ActiveLibrary[Admin Panels](/categories/admin)

dodsoftware/dynamic-field-hints-for-backpack
============================================

Easily add field hints to Backpack CRUD fields from database comments.

1.0.0(5y ago)61575[1 issues](https://github.com/DoDSoftware/DynamicFieldHintsForBackpack/issues)MITPHPPHP ^7.2.5

Since Sep 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/DoDSoftware/DynamicFieldHintsForBackpack)[ Packagist](https://packagist.org/packages/dodsoftware/dynamic-field-hints-for-backpack)[ Docs](https://github.com/DoDSoftware/DynamicFieldHintsForBackpack)[ RSS](/packages/dodsoftware-dynamic-field-hints-for-backpack/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

 [![](https://camo.githubusercontent.com/1a3a5264c1547dfce07e0e1fd871abce335e8dfe5dd03c3b82e21a7ec816c259/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f64736f6674776172652f64796e616d69632d6669656c642d68696e74732d666f722d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dodsoftware/dynamic-field-hints-for-backpack "Latest Version on Packagist") [![](https://camo.githubusercontent.com/8f1591a120ec8d2dfa4fbab18f171350418e25340e574a072ba400a35d631731/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f64736f6674776172652f64796e616d69632d6669656c642d68696e74732d666f722d6261636b7061636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dodsoftware/dynamic-field-hints-for-backpack "Total Downloads") [![](https://camo.githubusercontent.com/55696f63721a17e55445a6895d557a982e6c42bfd4251e6c993030a07e959193/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f64736f6674776172652f44796e616d69634669656c6448696e7473466f724261636b7061636b)](LICENSE.md "Software License")

Dynamic Field Hints for Backpack 4
==================================

[](#dynamic-field-hints-for-backpack-4)

This package extends the [Backpack for Laravel](https://backpackforlaravel.com/) CrudPanel providing the ability to dynamically set the 'hint' value for its [CRUD fields](https://backpackforlaravel.com/docs/4.1/crud-fields#optional-field-attributes-for-presentation-purposes) by pulling the "comment" for the related column in the database if it exists.

### Notes

[](#notes)

- hints are only set if the method is called
- hints are only set if the column in the db has a Comment
- hints are **not** set if a hint already exists on the field
- hints are **not** set if "hint" on the field is set to an empty string

Installation
------------

[](#installation)

Via Composer

```
composer require dodsoftware/dynamic-field-hints-for-backpack
```

If you've disabled Laravel's auto package discovery, you'll need to also add the below to your app's `config/app.php` file

```
'providers' => [
    // ...
    DoDSoftware\DynamicFieldHintsForBackpack\AddonServiceProvider::class,
];

```

Usage
-----

[](#usage)

Inside your custom CrudController:

```
    $this->crud->addFields($fields);
    $this->crud->setFieldHintsFromColumnComments();
```

Supported Databases
-------------------

[](#supported-databases)

- MySQL 5.6+
- PostgreSQL 9.4+
- SQL Server 2017+

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [contributing.md](CONTRIBUTING.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email [the author](composer.json) instead of using the issue tracker.

Credits
-------

[](#credits)

- [Wesley Smith (DoDSoftware)](https://github.com/DoDSoftware) - creator
- [Cristian Tabacitu](https://github.com/tabacitu) - idea to make this an addon
- [Backpack For Laravel](https://backpackforlaravel.com/) - for making this package possible (and just being awesome in general)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

2064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/289ae3ea67fa170ec67e6fd45c63216bddfb3792edd197d4c3c57fd5878e070e?d=identicon)[dodsoftware](/maintainers/dodsoftware)

---

Top Contributors

[![DoDSoftware](https://avatars.githubusercontent.com/u/8271955?v=4)](https://github.com/DoDSoftware "DoDSoftware (1 commits)")[![tabacitu](https://avatars.githubusercontent.com/u/1032474?v=4)](https://github.com/tabacitu "tabacitu (1 commits)")

---

Tags

laraveladdonadmin-panelbackpackBackpack for Laravel

### Embed Badge

![Health badge](/badges/dodsoftware-dynamic-field-hints-for-backpack/health.svg)

```
[![Health](https://phpackages.com/badges/dodsoftware-dynamic-field-hints-for-backpack/health.svg)](https://phpackages.com/packages/dodsoftware-dynamic-field-hints-for-backpack)
```

###  Alternatives

[ziming/json-field-for-backpack

A Json Editor Field for Backpack

3597.3k](/packages/ziming-json-field-for-backpack)[izica/relations-widgets-for-backpack

Widgets for preview model relations in laravel backpack

2927.3k](/packages/izica-relations-widgets-for-backpack)[digitallyhappy/toggle-field-for-backpack

Easily toggle boolean attributes with a new field type.

2138.4k](/packages/digitallyhappy-toggle-field-for-backpack)[backpack/revise-operation

Backpack interface for venturecraft/revisionable

43279.9k1](/packages/backpack-revise-operation)[backpack/pagemanager

Create admin panels for presentation websites on Laravel, using page templates and Backpack\\CRUD.

371522.6k6](/packages/backpack-pagemanager)[backpack/backupmanager

Admin interface for managing backups in Backpack, on Laravel 5.2+

340375.9k2](/packages/backpack-backupmanager)

PHPackages © 2026

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