Enables admins to run SQL queries from the Craft CP
Switch branches/tags
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
.gitignore
CHANGELOG.md
LICENSE.md
README.md
composer.json
gulpfile.js
package-lock.json
package.json

README.md

Query for Craft CMS

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

Requirements

This plugin requires Craft CMS 3.0.0-beta.1 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 “Query”. Then click on the “Install” button 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 Utilities → Query in the Control Panel.