phplx/prize-raffle-console-app
Composer 安装命令:
composer require phplx/prize-raffle-console-app
包简介
Console Application to raffle prizes for phplx meetups
README 文档
README
What this application do:
- 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
Sponsor by
LICENSE
Licensed under the MIT LICENSE
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-02-01