PHPackages                             tinydots/craft-cpeditsegment - 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. tinydots/craft-cpeditsegment

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

tinydots/craft-cpeditsegment
============================

Quickly go to an element's control panel edit URL by adding a segment to the end of its URL on the front-end.

1.0.0(7y ago)0606[1 issues](https://github.com/tinydots/craft-cpeditsegment/issues)MITPHP

Since Feb 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tinydots/craft-cpeditsegment)[ Packagist](https://packagist.org/packages/tinydots/craft-cpeditsegment)[ RSS](/packages/tinydots-craft-cpeditsegment/feed)WikiDiscussions develop Synced 2d ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

CP Edit Segment Plugin for Craft CMS 3
======================================

[](#cp-edit-segment-plugin-for-craft-cms-3)

[![Build Status](https://camo.githubusercontent.com/23f9293dd447d46705534a7fc3d69eebc182befd51693673e8f6e69c7976e927/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74696e79646f74732f63726166742d6370656469747365676d656e742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tinydots/craft-cpeditsegment/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c79faadf00a4e6b4ba88043e530abbf16e0cc6b88edf5c91afe852d648d3431f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74696e79646f74732f63726166742d6370656469747365676d656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tinydots/craft-cpeditsegment/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/328d1d8d956dd16a47c0dab8e8218042e0ee30212dbdc9085ace127d89251a17/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74696e79646f74732f63726166742d6370656469747365676d656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tinydots/craft-cpeditsegment/?branch=master)[![License](https://camo.githubusercontent.com/7c558471ee1a1d576f6f6966a37392f270f1baa782eebe8fa4090d8916ef9f82/68747470733a2f2f706f7365722e707567782e6f72672f74696e79646f74732f63726166742d6370656469747365676d656e742f6c6963656e7365)](https://packagist.org/packages/tinydots/craft-cpeditsegment)

This plugin allows users with permission to quickly go to an element's control panel edit URL by adding a segment to the end of its URL on the front-end.

This is particularly useful for statically cached sites using things like Varnish or the Blitz plugin, where it's harder to sprinkle "Edit this entry" links in your templates for logged-in users.

Contents
--------

[](#contents)

- [License](#license)
- [Requirements](#requirements)
- [Usage](#usage)
- [Settings](#settings)

License
-------

[](#license)

This plugin is licensed for free under the MIT License.

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

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

Usage
-----

[](#usage)

Install the plugin from the Craft Plugin Store in your site’s control panel or manually using composer.

```
composer require tinydots/craft-cpeditsegment

```

Once installed, you can append your site's `cpTrigger` on to the end of any URI that belongs to a Craft element, and if you're logged in and have permission, you'll be redirected to that element's edit page in the control panel.

For example, to go to the correct page in the control panel to edit , visit .

You can set up a custom trigger value in a plugin config file, which will allow you to also edit the homepage this way.

Settings
--------

[](#settings)

### Bookmarklet

[](#bookmarklet)

In the plugin's control panel settings, you will find a bookmarklet link you can click-and-drag to your browsers bookmarks bar. This will allow you to visit the correct page in the CP for the current URL in one click.

NOTE: You'll need to replace the bookmarklet if you change the trigger value.

### Configuration Settings

[](#configuration-settings)

The plugin comes with a config file for a multi-environment way to set the plugin settings. The config file also provides more advanced plugin configuration settings. To use it, copy the `config.php` to your project’s main `config`directory as `cpeditsegment.php` and uncomment any settings you wish to change.

#### `trigger`

[](#trigger)

Set a custom trigger to use instead of the General Config's `cpTrigger` value (which defaults to `'admin'`).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Unknown

Total

1

Last Release

2702d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/200347391?v=4)[tinydots](/maintainers/tinydots)[@tinydots](https://github.com/tinydots)

---

Top Contributors

[![mdcpepper](https://avatars.githubusercontent.com/u/89459?v=4)](https://github.com/mdcpepper "mdcpepper (10 commits)")

---

Tags

cmsCraftcraftcmscraft-plugin

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/tinydots-craft-cpeditsegment/health.svg)

```
[![Health](https://phpackages.com/badges/tinydots-craft-cpeditsegment/health.svg)](https://phpackages.com/packages/tinydots-craft-cpeditsegment)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k59](/packages/verbb-formie)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M52](/packages/nystudio107-craft-seomatic)[verbb/navigation

Create navigation menus for your site.

92698.4k18](/packages/verbb-navigation)[verbb/field-manager

Manage your fields and field groups with ease.

195612.2k10](/packages/verbb-field-manager)[verbb/workflow

Enforce multi-step review processes for creating entries.

138123.0k1](/packages/verbb-workflow)[verbb/comments

Add comments to your site.

13753.7k](/packages/verbb-comments)

PHPackages © 2026

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