Laravel Forge for Openclaw

A powerful command-line interface to manage Laravel Forge servers, sites, and deployments using the Openclaw Skills framework.

florianbeer
v1.0.0
Feb 20, 2026
0
1.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install laravel-forge

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install laravel-forge using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Laravel Forge?

The Laravel Forge skill for Openclaw Skills provides a robust, bash-based wrapper around the official Laravel Forge API. It enables developers and DevOps engineers to manage their entire infrastructure—including servers, sites, databases, and SSL certificates—directly from the command line or through automated AI workflows. By leveraging this tool, you can simplify complex tasks like server provisioning, PHP version management, and deployment orchestration across multiple organizations.

Designed for speed and efficiency, it uses standard utilities to interact with the JSON:API format of Forge. Whether you are automating a CI/CD pipeline or managing server-level configurations, this skill integrates seamlessly into the Openclaw Skills ecosystem to provide a high-performance management experience for Laravel developers.

Laravel Forge Use Cases

  • Automating server provisioning and configuration across multiple cloud providers.
  • Managing PHP versions, FPM configurations, and OPcache settings programmatically.
  • Triggering site deployments and monitoring deployment history via CLI.
  • Configuring database schemas, users, and backup schedules.
  • Managing firewall rules and scheduled jobs for enhanced server security and automation.

How Laravel Forge Works

  1. The skill authenticates with the Laravel Forge API using a secure API token provided via environment variables or a configuration file.
  2. Users issue commands via the script, specifying the resource (e.g., servers, sites) and the action (e.g., create, list).
  3. The script utilizes curl to send requests to the Forge API endpoints, optionally scoping requests to a specific organization.
  4. Data is processed using jq to ensure clean, parseable JSON output for all management operations.
  5. The skill handles complex resource hierarchies, allowing for server-scoped or site-scoped management within the Openclaw Skills environment.

Laravel Forge Setup

To get started with this skill for Openclaw Skills, follow these steps:

Option 1 — Environment variables:

export LARAVEL_FORGE_API_TOKEN="your-token-here"
export LARAVEL_FORGE_ORG="your-default-org-slug"

Option 2 — Credentials file (recommended):

mkdir -p ~/.openclaw/credentials/laravel-forge
echo '{"token":"your-token-here","org":"your-default-org-slug"}' > ~/.openclaw/credentials/laravel-forge/config.json

Ensure you have curl and jq installed on your system to process API requests and responses.

Laravel Forge Data Schema & Taxonomy

The Laravel Forge skill organizes its operations around a clear resource hierarchy within Openclaw Skills:

Level Resources Managed
Top-level User info, Cloud providers
Org-scoped Organizations, Recipes, Storage providers, Teams, Roles
Server-scoped Servers, Services (Nginx, MySQL, etc.), PHP versions, Firewalls, Databases
Site-scoped Sites, Domains, SSL Certificates, Deployments, Webhooks, Redirects

All configuration and credential data is stored securely in the local user directory under the .openclaw namespace.

Laravel Forge Advanced Features

  • Multi-organization support with explicit overrides for complex account structures.
  • Deep integration with Laravel first-party packages like Horizon, Octane, Reverb, and Pulse.
  • Automated PHP management including pool configurations and CLI default switching.
  • Advanced recipe management to run custom scripts across multiple servers simultaneously.
  • Granular team and role-based access control management via the API.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*