.github/workflows | ||
bin | ||
config | ||
public | ||
src | ||
tests | ||
translations | ||
.env | ||
.gitignore | ||
composer.json | ||
composer.lock | ||
phpcs.xml.dist | ||
README.md | ||
symfony.lock |
Meetup.com Raffle Winner Picker
A Symfony console application used by the PHP South Wales user group to select raffle prize winners from the attendees for an event.
Usage
Run the app:get-raffle-winner
command to retrieve the 'yes' RSVPs from Meetup for an event, and select a winner at random. The only argument is the Meetup event ID, which is required.
./bin/console app:get-raffle-winner <event_id>
RSVPs by event hosts (i.e. organisers) are automatically removed so that they are not returned.