1. Go to this page and download the library: Download passchn/konzertmeister library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
passchn / konzertmeister example snippets
// Copy the "Terminlisten-Link" with your filters (tags, types, ...) from this url:
// https://web.konzertmeister.app/export/list
// Note: Don't change the params as the hash will be invalid!
$url = 'https://rest.konzertmeister.app/api/v3/org/OALS_4dad../upcomingappointments?types=1,2&limit=5&display=light&tags=22351,2024&hash=93af9...'
$guzzle = new GuzzleHttp\Client();
$options = new Passchn\Konzertmeister\Network\ClientOptions($guzzle, $url);
$client = new Passchn\Konzertmeister\Network\Client($options);
/** @var list<Passchn\Konzertmeister\Event\Event> **/
$events = $client->fetch();
$event = current($events);
$eventName = $event->name;
$dateFrom = $event->start->format('d.m.Y');
echo "$eventName wird am $dateFrom stattfinden. Wir freuen uns auf Deinen Besuch!";
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.