1. Go to this page and download the library: Download phil/groups-bundle 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 Phil\GroupsBundle\Application\Groups;
use Phil\GroupsBundle\Application\Meetings;
use Phil\GroupsBundle\Domain\Enum\JoinPolicy;
use Phil\GroupsBundle\Domain\Enum\Visibility;
$group = $groups->create('member-17', 'chess-club', 'Chess club', 'Tuesday evenings.', Visibility::Private, JoinPolicy::Request);
$groups->join($group->id(), 'member-42'); // a request
$groups->approve($group->id(), 'member-17', 'member-42'); // now a member
$meeting = $meetings->schedule(
$group->id(),
'member-17',
'Weekly game',
new DateTimeImmutable('2026-12-08 19:00', new DateTimeZone('America/Toronto')),
'FREQ=WEEKLY;BYDAY=TU',
);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.