PHPackages                             joebocock/launch-library-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. joebocock/launch-library-php-sdk

ActiveLibrary[API Development](/categories/api)

joebocock/launch-library-php-sdk
================================

A flexible SDK for Launch Library 2 by The Space Devs.

v0.3.1(2y ago)05MITPHPPHP &gt;=8.2

Since Nov 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/JoeBocock/launch-library-php-sdk)[ Packagist](https://packagist.org/packages/joebocock/launch-library-php-sdk)[ RSS](/packages/joebocock-launch-library-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

 [![rocket](logo.svg)](logo.svg)Launch Library PHP API SDK
==========================

[](#launch-library-php-api-sdk)

A simple PHP SDK to work with the Launch Library 2 API.

 [![GitHub Workflow Status](https://camo.githubusercontent.com/a06bb43e6b54d2302f7fb0c5bf9878b30684d61b9ea4eaadbfcc6cb5533375c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b2f54657374732e796d6c3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/a06bb43e6b54d2302f7fb0c5bf9878b30684d61b9ea4eaadbfcc6cb5533375c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b2f54657374732e796d6c3f7374796c653d666c61742d737175617265) [![GitHub issues](https://camo.githubusercontent.com/ecc8c88bd6ea2708a9910c9afb2382d434d2c4ad9240ed6466589b18bff44df6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ecc8c88bd6ea2708a9910c9afb2382d434d2c4ad9240ed6466589b18bff44df6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b3f7374796c653d666c61742d737175617265) [![GitHub commit activity](https://camo.githubusercontent.com/714d870ef63b7a2a6545968d0e084793ab76be34306d44d6f5f8402616dab2da/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/714d870ef63b7a2a6545968d0e084793ab76be34306d44d6f5f8402616dab2da/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b3f7374796c653d666c61742d737175617265) [![GitHub code size in bytes](https://camo.githubusercontent.com/9608ca8c4d07bd26e31ddc83a0a97b1340ec1ea9bfd8f43f8d3c97089ad44de0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/9608ca8c4d07bd26e31ddc83a0a97b1340ec1ea9bfd8f43f8d3c97089ad44de0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6a6f65626f636f636b2f6c61756e63682d6c6962726172792d7068702d73646b3f7374796c653d666c61742d737175617265)

> **Warning**: This package is still in active development and in very early stages.

Table of Contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Usage](#usage)
- [Development](#development)
- [Contributing](#contributing)

Introduction
------------

[](#introduction)

This PHP Composer package provides a simple SDK to interact with Launch Libraries API for all your space data needs!

This package can be used out-of-box with **zero** configuration. However, you may provide a configured HTTP client if you wish, given it follows PSR-18.

Usage
-----

[](#usage)

This package is not yet complete, but I am actively working on it. I'm slowly working my way through the various endpoints. To get started, install the package with Composer.

```
composer require joebocock/launch-library-php-sdk
```

General usage is simple and you can be up and running in no time.

```
use JoeBocock\LaunchLibrary\Client;

$client = new Client();
```

The client has multiple configuration options. Firstly, you can provide a `JoeBocock\LaunchLibrary\Enum\Url`. This enum will determine which endpoint is used when making requests. Secondly a `JoeBocock\Enum\Version` can be provided and is used to decide on which API version should be hit. Finally, under the hood Guzzle will be used to make the request - but if you have your own PSR-18 compliant HTTP client, you may provide it while constructing the `Client` class. This is great for when you need to configure the Client beforehand.

```
use GuzzleHttp\Client as GuzzleClient;
use JoeBocock\LaunchLibrary\Client;
use JoeBocock\LaunchLibrary\Enum\Url;
use JoeBocock\LaunchLibrary\Enum\Version;

$client = new Client(
    Url::Development,
    Version::Latest,
    new GuzzleClient(),
);
```

The main client is composed of sub-clients. Whenever you want to make a request against a specific resource, it can be achieved by doing the following...

```
use JoeBocock\LaunchLibrary\Client;

$client = new Client();

$client->agency->list();
```

While I'd hope nothing goes wrong during usage, sometimes Launch Library might return a 4XX or even 5XX. In this case, the `Client` class throws two different exceptions to help discern the problem.

A `LaunchLibraryRequestException` will occur whenever there was an issue produced by the HTTP Client. Finally, a `LaunchLibraryResponseException` will happen whenever a response was returned that cannot be properly hydrated into an entity.

Development
-----------

[](#development)

As this is just a package, it has no requirement for a web server locally. Development is powered by a very simple Docker container that is used to run all commands.

To get started, first clone the repository. A Makefile is provided for convenience of command handling...

```
# Build the container
make build

# Install Composer Dependencies
make install

# Run the test suite
make test

# Run static analysis
make stan

# Format the codebase
make format

# Lint the codebase
make lint
```

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

[](#contributing)

As the package is still in development and hasn't reached v1 yet, I haven't written any contribution guidelines. But don't let that stop you! Please feel free to fork the codebase, get a feel for the style and submit a PR.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~0 days

Total

5

Last Release

912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b70a1dc3fd656d44929b2f65195174ec2cccc009867823a721a160c7f8e8d18?d=identicon)[JoeBocock](/maintainers/JoeBocock)

---

Top Contributors

[![JoeBocock](https://avatars.githubusercontent.com/u/47351766?v=4)](https://github.com/JoeBocock "JoeBocock (21 commits)")

---

Tags

apiphpsdk

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/joebocock-launch-library-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/joebocock-launch-library-php-sdk/health.svg)](https://phpackages.com/packages/joebocock-launch-library-php-sdk)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M467](/packages/saloonphp-saloon)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)

PHPackages © 2026

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