99x/craft-entry-explorer

Check the content of the fields have better control and awareness of everything that is being used in the project, this way we can better cover the tests and be safer about possible changes to everything involving the entry (entry, section, fields, blocks, etc.). It is also very useful for redesign/

1.0.1 2024-09-04 18:49 UTC

This package is auto-updated.

Last update: 2024-10-11 12:02:01 UTC


README

Total Downloads Latest Stable Version License

Craft Entry Explorer

The Entry Explorer plugin helps to understand which fields that are in on a per entry basis.

This plugin was developed out of the need to easier perform code due diligence on large and complex projects that has evolved over time.

Initially the plugin will analyse all the content in a Craft CMS installation. When the analysis job is completed it’s possible to filter the report per field to see exactly where it’s in use.

The main goal is to identify abandoned fields that are no longer in use and that can be removed.

Requirements

This plugin requires Craft CMS 4.4.0 or later, and PHP 8.0.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Entry Explorer”. Then press “Install”.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require seeds/craft-entry-explorer

# tell Craft to install the plugin
./craft plugin/install entry-explorer

Usage

Refresh button

When you click the refresh button, the EntryExplorerService will push the ImportPluginDataJob to the queue.

This job will get all the entries from your database and filter out empty fields from the entry's serialized values.

Only the used fields will be shown in the table.

It will also show you the pagination of the entries in the table that you can use to navigate through the entries.

Export to CSV button

Export the entries to a CSV file.