An open source text message (sms) cli poll service running through Google Voice. A command-line php app.
$ composer install
Create .env
with your Google credentials specified in .env.example
.
Create db.db
to store responses.
Use php app <command> <args>
.
Drop and create tables in the database.
Open the poll by deleting any existing messages and removing responses from the table.
Close the poll and calculate and print the results. <args>
are the options that you want to check in your poll.
Example: If your poll options are 'bears' and 'cows', then run php app poll/close bears cows
.
Check for new responses and insert those responses into the table.
List out responses that have been saved in the table