1. Go to this page and download the library: Download edulazaro/wireschedule 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/ */
use EduLazaro\WireSchedule\Models\Booking;
Booking::ofType('demo')->confirmed()->upcoming()->orderBy('starts_at')->get();
$booking->booker; // polymorphic: who booked (User, ... or null for guests)