laravel/forge-sdk
Laravel Forge SDK is a PHP client for the Forge API. Manage servers and resources programmatically: list and fetch servers, create new servers, and run actions with simple methods and resource objects. Install via Composer and authenticate with an API token.
*"This SDK lets us automate 80% of our server management tasks—from spinning up new environments to scaling databases—using the same tools our Laravel apps already rely on. By integrating Forge’s API into our CI/CD pipelines, we’ll:
*"This is the official Laravel Forge PHP SDK, giving us a clean, object-oriented way to interact with Forge’s API without manual HTTP calls or CLI tools. Key wins:
forge->createSite() after GitHub Actions deploys code).createServer() + installWordPress() + configureDatabase()—all auditable and repeatable."**"If you’re tired of waiting for DevOps to set up a new server or debug a misconfigured site, this SDK puts Forge’s power in your hands—safely. You can:
$forge->createServer(['name' => 'my-project', 'php_version' => '8.5']).How can I help you explore Laravel packages today?