craftcms/query

Execute database queries from the Control Panel

Installs: 13 537

Dependents: 1

Suggesters: 0

Security: 0

Stars: 15

Watchers: 5

Forks: 2

Open Issues: 12

Type:craft-plugin


README

This plugin lets users execute SQL queries and view their results in Craft CMS.

WARNING: This plugin is for development purposes only and should not be installed in a production environment.

Requirements

This plugin requires Craft CMS 4.0.0+ or 5.0.0+.

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 “Query”. Then press Install in its modal window.

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 craftcms/query

# tell Craft to install the plugin
./craft install/plugin query

Usage

Execute SQL queries by navigating to UtilitiesQuery in the control panel.