2017 © Pedro Peláez
 

library prize-raffle-console-app

Console Application to raffle prizes for phplx meetups

image

phplx/prize-raffle-console-app

Console Application to raffle prizes for phplx meetups

  • Friday, March 21, 2014
  • by dcsg
  • Repository
  • 4 Watchers
  • 2 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

phplx Prize Raffle Console Application

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Quality Score Code Coverage SensioLabsInsight, (*1)

What this application do:, (*2)

  • Get attendees by event from a Provider (actually only Eventbrite is available)
  • Load prizes from a file
  • Save Event and Winners
  • Raffle prizes
  • Tweet the winner with the respective prize

How to use

# clone the repo
git clone git@github.com:phplx/prize-raffle-console-app.git
cd prize-raffle-console-app

# [Optional] Using Vagrant
vagrant up
vagrant ssh
cd /vagrant

# download composer
curl -sS https://getcomposer.org/installer | php
php composer.phar install -o --dev

# Run
php bin/phplx.php

# or
./bin/phplx

# Run tests
./vendor/bin/phpunit

TODO

  • Add new commands like listing all events, send email to winner.
  • Add more DataAdapters and Providers
  • Make the twitter username maps dynamically without knowing the question text in the Eventbrite Provider

phplx, (*3)

LICENSE

Licensed under the MIT LICENSE, (*4)

The Versions