It’s OK. I know I have a problem.

As far back as I can remember, I’ve been obsessed with the “Back to the Future” trilogy (let’s be honest, the 3rd one wasn’t amazing, but, moving on). Whenever I need a test user name, placeholder text, or even an image for a project at work, I populate my code with references from my favorite movie.

Outlined below are a few of the random projects I’ve created to make the process of injecting movie references into my code even easier.

‘Back to the Future’ Ipsum PHP class and Alfred App Workflow

A PHP Class to output a specified number of paragraphs with text from the “Back to the Future” trilogy. This repository also includes a workflow for AlfredApp

View on GitHub
Download ZIP

Alfred Workflow

Simply download the repository and import the workflow (by double-clicking the package) into Alfred.

PHP Class Usage

  1. Download the repository and save the class.BTTF.php and BTTF-script.txt files to your project.
  2. Next, import the class into your PHP file:
  3. Initiate the class and call the script where you’d like to generate the text:
    $text = new BTTF; // Create new instance
        3, // Number of paragraphs to generate (Optional, Default = 1)
        true, // Wrap paragraphs in HTML
     tags (Optional, Default = true)
        5 // Number of sentences per paragraph (Optional, Default = 5)

Brackets “BACK TO THE FUTURE” Ipsum Extension

I recently downloaded Adobe’s Brackets, which is a code editor (IDE) built with front-end developers in mind. While I’m more of a full-stack developer, people at work seem to like it, so I figured I’d give it a shot. After trying it out for a day, it actually is a pretty sweet editor as long as you’re mostly doing front-end development.

That being said, I took 10 minutes and created a Lorem Ipsum generator for Brackets (using “Back to the Future” text, of course) that inserts random paragraphs of placeholder text wherever the user’s cursor is placed.

View on GitHub
Download ZIP


To install this extension, use the built-in Brackets Extension Manager which downloads the extension from the extension registry.


Use the menu entry Edit > Insert BTTF Ipsum, or one the keyboard shortcut Ctrl-Shift-B (Windows/Linux), Cmd-Shift-B (Mac), or define your own.

“BACK TO THE FUTURE”: Written by. Robert Zemeckis & Bob Gale.