This project is not covered by Drupal’s security advisory policy.
Quick Script is a powerful tool for creating custom PHP scripts on your Drupal site. Quick Scripts can be run from the admin interface, using Drush, on cron, or anonymously via a secure link. Quick Scripts can also be configured to use a form (defined with YAML) to collect data before running the script (useful for scripts with dynamic arguments).
List of Module Features
- Save your scripts and run anytime
- Built-in code editor with customizable themes
- Define a custom config form to run your script using the built-in YAML Form editor.
Form values are available in your script using the$_QSvariable. - Easily cross-include scripts to pass information between them
- Set your scripts to automatically run on cron at various intervals
- Create a publicly accessible endpoint for your scripts
- Run your Quick Scripts with Drush using one simple command
- Encrypt your scripts using the Encrypt module
A Simple Quick Script

Include Other Quick Scripts

Run on Cron and Create a Public URL

View All Quick Scripts

Create Forms for Dynamic Scripts

Documentation
Use the quickscript_include($machine_name) function to easily cross-include your Quick Scripts. Want to just eval the code in place? Just use the quickscript_eval($machine_name) function.
Run your Quick Scripts from Drush using drush quickscript MACHINE_NAME. Easily view all your scripts by running drush quickscript-list.
You can run your dynamic scripts with config forms by passing values into the drush command. For example: drush qs MACHINE_NAME "key1=val1&key2=val2".
| Attachment | Size |
|---|---|
| quick-script-screenshot.png | 143.33 KB |
| quick-script-two.png | 145.58 KB |
| quick-script-listing.png | 125.06 KB |
| quick-script-advanced-settings.png | 85.87 KB |
| quick-script-yaml-form.png | 153.77 KB |
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Developer tools
1 site reports using this module
- Created by donutdan4114 on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
