PHPackages                             mmikkel/cp-field-inspect - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mmikkel/cp-field-inspect

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

mmikkel/cp-field-inspect
========================

Inspect field handles and easily edit field and element source settings

2.0.4(1y ago)29543.4k↓42.9%414MITPHPPHP ^8.2

Since Oct 23Pushed 1y ago2 watchersCompare

[ Source](https://github.com/mmikkel/CpFieldInspect-Craft)[ Packagist](https://packagist.org/packages/mmikkel/cp-field-inspect)[ RSS](/packages/mmikkel-cp-field-inspect/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (44)Used By (14)

CP Field Inspect plugin for Craft CMS
=====================================

[](#cp-field-inspect-plugin-for-craft-cms)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b8cf84c0099646670aa5573330f74c4106fde7e5e2b2cab43daac375b2126a1c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d6d696b6b656c2f43704669656c64496e73706563742d43726166742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mmikkel/CpFieldInspect-Craft/?branch=master)

‼️ CP Field Inspect has been retired!
-------------------------------------

[](#️-cp-field-inspect-has-been-retired)

Since Craft 5.8+, the majority of features provided by CP Field Inspect are now in Craft core 🎉 – making this plugin redundant.

For the time being, I'll make sure things keep working for any upcoming Craft 4.x releases, but installs using Craft 5.8 or later are encouraged to uninstall the plugin.

About CP Field Inspect
----------------------

[](#about-cp-field-inspect)

CP Field Inspect is a tiny utility plugin, that makes content modelling a little bit easier in Craft.

The plugin adds two things to the Craft control panel (hence the first part of the name!):

1. **A link for quickly accessing field settings** to the field handles in element edit forms (for admin users who opt to display those). This link appears as a little cogwheel inside the field handle, and clicking this link redirects you to the fields' settings pages, and back to your content when you save the settings.
2. **Links for quickly accessing element source settings** (i.e. entry type, section, volume, category group etc.) to element edit forms, cards, chips and inline Matrix entries (nee *blocks*)

[![img.png](resources/img/craft5.png)](resources/img/craft5.png)

The caveats!
------------

[](#the-caveats)

CP Field Inspect will only add field settings links and element source buttons to the Craft control panel if

- The logged-in user is an **admin**
- [`allowAdminChanges`](https://craftcms.com/docs/3.x/config/config-settings.html#allowadminchanges) is `true`

**If either of the above are false, CP Field Inspect will do absolutely nothing.**

Additionally, the field settings cogwheels requires the "Show field handles in edit forms" admin user preference.

Requirements
------------

[](#requirements)

**This plugin requires Craft CMS 5.0+.**

But, the plugin doesn't appear to do *anything*!
------------------------------------------------

[](#but-the-plugin-doesnt-appear-to-do-anything)

If CP Field Inspect's links won't appear in environments where `allowAdminChanges` is enabled and the user is an admin, the reason is most likely due to the site having one or several plugins or [custom modules](https://docs.craftcms.com/v3/extend/module-guide.html) installed, that call `Craft::$app->getUser()->getIdentity()` or related methods from within their constructor or `init()` methods. This has been confirmed, due to [a bug in Craft](https://github.com/craftcms/cms/issues/2473), to prevent CP Field Inspect from displaying the cogwheels, since `Craft::$app->getUser()->getIsAdmin()` will actually return a false negative in plugins, in this scenario.

The workaround is to defer any calls to `Craft::$app->getUser()` (such as `Craft::$app->getUser()->getIdentity()` etc.) in the offending custom module to after Craft has finished initialising (the below would go in your custom module's primary class):

```
public function init()
{
    parent::init();

    Craft::$app->onInit(function () {
        $this->doIt();
    }

}

protected function doIt()
{
    $currentUser = Craft::$app->getUser()->getIdentity();
    // ... all other logic dependant on `$currentUser`
}
```

Disclaimer
----------

[](#disclaimer)

Please report any bugs or other issues [here](https://github.com/mmikkel/CpFieldInspect-Craft/issues).

Plugin icon: CUSTOMIZE SEARCH by creative outlet from [the Noun Project](https://thenounproject.com)

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance45

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.1% 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 ~68 days

Recently: every ~114 days

Total

42

Last Release

366d ago

Major Versions

1.4.4 → 2.0.0-alpha.12023-10-06

PHP version history (2 changes)1.3.0PHP ^7.2.5|^8.0

2.0.0-alpha.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/298510?v=4)[M. Mikkel Rummelhoff](/maintainers/mmikkel)[@mmikkel](https://github.com/mmikkel)

---

Top Contributors

[![mmikkel](https://avatars.githubusercontent.com/u/298510?v=4)](https://github.com/mmikkel "mmikkel (110 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

cmsCraftcraftcmscraft-plugincp field inspect

### Embed Badge

![Health badge](/badges/mmikkel-cp-field-inspect/health.svg)

```
[![Health](https://phpackages.com/badges/mmikkel-cp-field-inspect/health.svg)](https://phpackages.com/packages/mmikkel-cp-field-inspect)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/navigation

Create navigation menus for your site.

92705.0k18](/packages/verbb-navigation)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/workflow

Enforce multi-step review processes for creating entries.

138124.2k1](/packages/verbb-workflow)

PHPackages © 2026

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