Four Kitchens

Playing with FIRE

2 Min. ReadDevelopment

Have you ever wished to have a single tool to rule all your project’s commands? A tool capable of handling interaction with your Drupal local environment, with the advantage of having a set of standardized initialization commands for all your projects? Well, I present to you, FIRE.

FIRE is an acronym for “Fast Initialization and Rebuilding of Environments.” It was created to offer developers a more straightforward onboarding process for projects. The main goal was to create a tool that could be executed with a single command, which is exactly what FIRE accomplishes.

What is FIRE?

FIRE is a PHP-scripted tool that uses as its development framework. FIRE is composed of two projects: the FIRE Launcher and the FIRE Composer Package.

The FIRE Launcher was heavily inspired by the Drush Launcher project. It aims to provide an executable binary at the operating system level that simplifies running FIRE commands. The fire-composer package contains the standardized commands to initialize projects quickly. As mentioned, this package uses as the framework for the commands.

Secondary goal: proxy for other tools

FIRE’s secondary goal is to act as a proxy for other tools like Drush, Lando, and Ddev. This simplifies the user experience by using FIRE commands from anywhere within a project folder, regardless of the specific local development environment chosen by the user.

How do I start using FIRE?

1. Install the FIRE Launcher (recommended): To install the recommended FIRE Launcher, follow the instructions on the GitHub repository.

2. Install the FIRE Composer Package: Navigate to your Drupal project’s root directory and install the FIRE Composer Package using this command:
composer require fourkitchens/fire --dev

3. Create a fire.yml file: You can either manually create a fire.yml file in your project’s root directory or use the fire init command to generate a template file for you.

4. Configure FIRE (fire.yml): In the fire.yml file, you will need to specify the configurations necessary for FIRE to work with your project. You can find all the available configuration options in the FIRE documentation.

5. Start using FIRE commands: Once you have completed these steps, you should be able to run FIRE commands to manage your Drupal project.

Want to give it a try?

If you want to give it a try, we created a couple of videos that could help you through the setup process:
FIRE Launcher setup
FIRE Composer package setup