Skip to content
A couple of useful commands for the craft console.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.craftplugin
.gitignore
CHANGELOG.md
LICENSE.md
README.md
composer.json

README.md

Console Toolkit plugin for Craft CMS 3.x

Requirements

This plugin requires:

Installation

To install the plugin, follow these instructions.

cd {craft app folder}
composer config repositories.blasvicco.consoletoolkit vcs https://github.com/blasvicco/consoletoolkit.git
composer require blasvicco/console-toolkit
./craft install/plugin console-toolkit

Console Toolkit Overview

This plugin add two console command to craft:

  • One is a re saving entries tool to test that all the entries can be save without error. In case of error a log file will be generated in {craft app folder}/storage/logs/save-fails.logs.
  • The other one is to remove empty fields for native and super table field type.

Using Console Toolkit

In order to execute the re-saving-entries:

cd {craft app folder}
./craft console-toolkit/re-saving-entries/run

In order to execute the remove-empty-fields:

cd {craft app folder}
./craft console-toolkit/remove-empty-fields/run

Brought to you by Blas Vicco

You can’t perform that action at this time.