Trybe migrated one domain, four apps, 833 GB, and 500M monthly requests to Cloud. See how—today, 11:30 a.m. ET.Join us

Forge: Deploy Script Environment Variables

We've super-charged custom deployment scripts in Laravel Forge with the addition of dynamic environment variables.

When Forge deploys your website, we will now automatically inject several environment variables within the context of your deployment. You can use these to further customize your deployments.

These variables can be used to control your deployments in ways that were not previously possible. For example, you could stop deployments if the commit message contains "wip" and if it didn't come from a manual deployment:

All environment variables will be unloaded after a deployment and are not accessible when fetching the deploy script via the Forge API.

You can learn more at the Forge documentation.

Keep reading

ProductMay 1, 2026

Laravel April Product Updates

Passkeys, debounceable jobs, MCP UI app support, mobile Cloud, and PHP 8.5 in Forge. Here's everything that shipped in April.

Laravel Team

ProductApr 1, 2026

Laravel March Product Updates

Laravel March Product Updates March was a big month for product updates. Laravel 13 brings first-party AI tooling to the framework, Laravel Cloud now has a free trial with no credit card required, and...

Laravel Team

ProductMar 2, 2026

Laravel February Product Updates

Laravel Cloud API & CLI, MySQL 8.4 upgrade notice, Forge MySQL 9, Nightwatch MCP & Linear integration, and new Framework AI updates.

Laravel Team