Skip to content

A couple of useful commands for the craft console.

License

Notifications You must be signed in to change notification settings

dustfeather/consoletoolkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A couple of useful commands for the craft console.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%