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

ActiveLibrary[API Development](/categories/api)

tschope/flightlogger-php
========================

A PHP SDK for integrating with FlightLogger GraphQL API using Saloon

v1.5.0(1mo ago)01.1k↑92.9%MITPHPPHP ^8.1

Since Nov 16Pushed 1mo agoCompare

[ Source](https://github.com/tschope/flightLogger-php-sdk)[ Packagist](https://packagist.org/packages/tschope/flightlogger-php)[ RSS](/packages/tschope-flightlogger-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (8)Versions (9)Used By (0)

FlightLogger PHP SDK
====================

[](#flightlogger-php-sdk)

A PHP SDK for integrating with FlightLogger's GraphQL API, built using Saloon.

Description
-----------

[](#description)

This package simplifies integration with the FlightLogger API, allowing you to fetch information about users, students, classes, flights, and training in a simple and intuitive way.

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

[](#installation)

You can install the package via Composer:

```
composer require tschope/flightlogger-php
```

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

[](#requirements)

- PHP 8.1 or higher
- cURL extension enabled

Configuration
-------------

[](#configuration)

### Basic Configuration (Pure PHP)

[](#basic-configuration-pure-php)

First, you need to obtain your API token from FlightLogger. Then, you can initialize the connector in three ways:

#### 1. Passing the token directly to the constructor

[](#1-passing-the-token-directly-to-the-constructor)

```
