scumi / vereinsflieger-php-client
Standalone PHP client for the Vereinsflieger and FlightCenter plus REST API
Package info
github.com/Scumi/vereinsflieger-php-client
pkg:composer/scumi/vereinsflieger-php-client
Requires
- php: ^8.2
- ext-curl: *
- guzzlehttp/guzzle: ^7
Requires (Dev)
- phpunit/phpunit: ^11.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A framework-independent PHP client for the REST API shared by Vereinsflieger and FlightCenter plus. It works with Laravel, Symfony, and standalone PHP.
Installation
Requires PHP 8.2 or later.
composer require scumi/vereinsflieger-php-client
Setup
use Scumi\Vereinsflieger\Client; $client = new Client($username, $password, $appKey);
Use the account's username and original password. The account needs Mitgliederdaten bearbeiten permission. Create a REST app key in the club settings under Einstellungen → REST Interface. The standard limit is 500 requests per day per app key.
Use cid: for accounts in multiple clubs and host: ApiHost::FlightCenterPlus for FlightCenter plus.
Available methods
$client->login()starts a session.$client->members()->list()returns the club's members.$client->calendar()lists, creates, updates, and deletes appointments.$client->logout()ends the session.