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 $_QS variable.

Form values are available in your script using the variable. 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 .