PHPackages                             freedomtech-hosting/ft-lagoon-php - 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. freedomtech-hosting/ft-lagoon-php

ActiveLibrary

freedomtech-hosting/ft-lagoon-php
=================================

The Freedom Tech Lagoon PHP library

v0.0.16(2mo ago)11.3k↓44.4%2MITPHPCI passing

Since May 12Pushed 2mo agoCompare

[ Source](https://github.com/amazeeio/polydock-lagoon-php-lib)[ Packagist](https://packagist.org/packages/freedomtech-hosting/ft-lagoon-php)[ RSS](/packages/freedomtech-hosting-ft-lagoon-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (6)Versions (20)Used By (2)

FT Lagoon PHP Client
====================

[](#ft-lagoon-php-client)

> **⚠️ Warning: Experimental Project**
> FT-Lagoon-PHP is currently in active development and has not yet reached a stable production release. This project should be considered experimental.
>
> If you are interested in using FT-Lagoon-PHP in a production setting, please contact Bryan Gruneberg () from [Workshop Orange](https://www.workshoporange.co), one of the sponsoring organizations.

A PHP client library for interacting with the Lagoon API.

Requirements
------------

[](#requirements)

- PHP 8.0+
- Composer
- Access to a Lagoon () instance. Shameless plug:  has cloud and dedicated solutions.

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

[](#installation)

```
composer require freedomtechhosting/ft-lagoon-php
```

Usage
-----

[](#usage)

```
$lagoon = new \FreedomtechHosting\FtLagoonPhp\Client(
    [
        'ssh_user' => 'lagoon',
        'ssh_server' => 'ssh.lagoon.amazeeio.cloud',
        'ssh_port' => '32222',
        'endpoint' => 'https://api.lagoon.amazeeio.cloud/graphql',
        'ssh_private_key_file' => getenv('HOME') . '/.ssh/id_rsa'
    ]
);
```

Table of supported API functions:

FunctionDescription**Project Management**`createLagoonProject`Create a new Lagoon project`createLagoonProjectInOrganization`Create a new Lagoon project within an organization`getAllProjects`Get all projects from the API`getProjectByName`Get a project by name**Project Variables**`getProjectVariablesByName`Get all variables for a project`getProjectVariableByName`Get a specific variable for a project`addOrUpdateScopedVariableForProject`Add/update a variable with specific scope for project`addOrUpdateGlobalVariableForProject`Add/update a global variable for project`deleteProjectVariableByName`Delete a variable from project**Environment Variables**`addOrUpdateScopedVariableForProjectEnvironment`Add/update scoped variable for environment`getProjectVariablesByNameForEnvironment`Get all variables for environment`getProjectVariableByNameForEnvironment`Get specific variable for environment`deleteProjectVariableByNameForEnvironment`Delete variable from environment**Environment Management**`deleteProjectEnvironmentByName`Delete a project environmentExamples
--------

[](#examples)

For examples of how to use the client, see the demo implementation at

Sponsoring Organizations
------------------------

[](#sponsoring-organizations)

- [Workshop Orange](https://www.workshoporange.co) - Project Delivery Professionals
- [amazee.io](https://www.amazee.io) - Enterprise Hosting
- [Freedomtech Hosting](https://www.freedomtech.hosting) - Decentralized Hosting

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit an issue or a PR.

License
-------

[](#license)

This project is licensed under the MIT License - see the LICENSE file for details.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance86

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 69.2% 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 ~44 days

Recently: every ~4 days

Total

16

Last Release

68d ago

### Community

Maintainers

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

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

![](https://www.gravatar.com/avatar/fe26dc8bee3ef1f7c3422d217cf234523b1c47bd3b746e85cc827c8e1204bf9d?d=identicon)[uselagoon-user](/maintainers/uselagoon-user)

---

Top Contributors

[![bryangruneberg](https://avatars.githubusercontent.com/u/383346?v=4)](https://github.com/bryangruneberg "bryangruneberg (27 commits)")[![dan2k3k4](https://avatars.githubusercontent.com/u/158704?v=4)](https://github.com/dan2k3k4 "dan2k3k4 (9 commits)")[![bomoko](https://avatars.githubusercontent.com/u/297936?v=4)](https://github.com/bomoko "bomoko (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

polydock

### Embed Badge

![Health badge](/badges/freedomtech-hosting-ft-lagoon-php/health.svg)

```
[![Health](https://phpackages.com/badges/freedomtech-hosting-ft-lagoon-php/health.svg)](https://phpackages.com/packages/freedomtech-hosting-ft-lagoon-php)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

53541.0k3](/packages/jolicode-castor)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[illuminate/process

The Illuminate Process package.

44699.5k65](/packages/illuminate-process)

PHPackages © 2026

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