PHPackages                             fixel/forge-deploy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. fixel/forge-deploy

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

fixel/forge-deploy
==================

v3.0.0(2mo ago)085[1 issues](https://github.com/wearefixel/forge-deploy/issues)PHP

Since May 10Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/wearefixel/forge-deploy)[ Packagist](https://packagist.org/packages/fixel/forge-deploy)[ RSS](/packages/fixel-forge-deploy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

Forge Deploy
============

[](#forge-deploy)

A Statamic addon that adds a control panel utility for deploying specific Git commits to [Laravel Forge](https://forge.laravel.com).

Browse your commit history, inspect file changes, and trigger deployments to any configured environment — all from the Statamic CP.

Installation
------------

[](#installation)

```
composer require fixel/forge-deploy
```

Configuration
-------------

[](#configuration)

Publish the config file:

```
php artisan vendor:publish --tag=forge-deploy-config
```

This creates `config/forge-deploy.php`. Define your environments, each with a Forge server ID, site ID, and deployment trigger token:

```
'environments' => [

    'production' => [
        'server_id' => env('FORGE_DEPLOY_PRODUCTION_SERVER_ID'),
        'site_id' => env('FORGE_DEPLOY_PRODUCTION_SITE_ID'),
        'token' => env('FORGE_DEPLOY_PRODUCTION_TOKEN'),
    ],

    'staging' => [
        'server_id' => env('FORGE_DEPLOY_STAGING_SERVER_ID'),
        'site_id' => env('FORGE_DEPLOY_STAGING_SITE_ID'),
        'token' => env('FORGE_DEPLOY_STAGING_TOKEN'),
    ],

],
```

You can find these values in the Forge dashboard:

- **Server ID** and **Site ID** are in the URL when viewing your site: `forge.laravel.com/servers/{server_id}/sites/{site_id}`
- **Deployment trigger token** is under your site's Deployments tab — enable "Quick Deploy" or use the deployment trigger URL

Add the corresponding values to your `.env`:

```
FORGE_DEPLOY_PRODUCTION_SERVER_ID=123456
FORGE_DEPLOY_PRODUCTION_SITE_ID=789012
FORGE_DEPLOY_PRODUCTION_TOKEN=your-token-here
```

Forge Setup
-----------

[](#forge-setup)

Update the Git portion of your Forge deployment script to check out a specific commit hash using the `FORGE_VAR_HASH` variable:

```
git fetch origin
git checkout $FORGE_VAR_HASH
```

This allows the addon to deploy any commit rather than just the latest on a branch.

Usage
-----

[](#usage)

Navigate to **Utilities → Forge Deploy** in the Statamic control panel.

From there you can:

- **Browse commits** — paginated list of your Git history showing hash, message, author, and date
- **View changes** — click the eye icon on any commit to see which files were added, modified, or deleted
- **Deploy** — select an environment to trigger a deployment of that specific commit to Forge
- **Track deployments** — badges on commits show which environment they were last deployed to and when

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance86

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~345 days

Total

4

Last Release

69d ago

Major Versions

v1.0.0 → v2.0.02023-06-09

v2.0.0 → v3.0.02026-03-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/bd29694db691758c67daf9befec4a917786b63679e15cdb15e4ee8d9864149fb?d=identicon)[galengidman](/maintainers/galengidman)

---

Top Contributors

[![galengidman](https://avatars.githubusercontent.com/u/542720?v=4)](https://github.com/galengidman "galengidman (18 commits)")

### Embed Badge

![Health badge](/badges/fixel-forge-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/fixel-forge-deploy/health.svg)](https://phpackages.com/packages/fixel-forge-deploy)
```

###  Alternatives

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
