PHPackages                             uselagoon/lagoon-php-sdk - 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. [API Development](/categories/api)
4. /
5. uselagoon/lagoon-php-sdk

ActiveLibrary[API Development](/categories/api)

uselagoon/lagoon-php-sdk
========================

PHP Library for interacting the the Lagoon API.

v1.6.2(5y ago)29731[1 issues](https://github.com/uselagoon/lagoon-php-sdk/issues)[3 PRs](https://github.com/uselagoon/lagoon-php-sdk/pulls)Apache-2.0PHPPHP &gt;=7

Since May 2Pushed 3y ago2 watchersCompare

[ Source](https://github.com/uselagoon/lagoon-php-sdk)[ Packagist](https://packagist.org/packages/uselagoon/lagoon-php-sdk)[ RSS](/packages/uselagoon-lagoon-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (17)Used By (0)

Lagoon PHP SDK
==============

[](#lagoon-php-sdk)

The *Lagoon SDK for PHP* makes it easy for developers to connect their applications to the Lagoon GraphQL service in PHP Code.

Getting started
---------------

[](#getting-started)

Require the package using [Composer](https://getcomposer.org/):

```
composer require uselagoon/lagoon-php-sdk

```

Quick Examples
--------------

[](#quick-examples)

### Fetch all projects

[](#fetch-all-projects)

See [`tests/lagoon-php-sdk-test`](tests/lagoon-php-sdk-test) for a working example. This script is [tested on GitHub](https://github.com/uselagoon/lagoon-php-sdk/actions).

```
