bendihossan / phitter
Simple Twitter client written in PHP using the Symfony2 Console component.
0.3
2013-04-27 11:51 UTC
Requires
- php: >=5.3.2
- ext-oauth: 1.2.*
- symfony/console: 2.3.*@dev
This package is not auto-updated.
Last update: 2025-01-27 12:18:48 UTC
README
Because Twitter apps appear to be the "Hello, World!" of modern development, Phitter is an experiment in building a simple command line app in PHP using the Symfony Console component.
Basic Usage
Phitter! uses the Symfony Console component to register commands.
Run php bin/phitter
to find out the available commands:
Available commands:
home
home:mentions Lists latest mentions for this user.
home:retweets Lists latest retweets for this user.
home:timeline Lists latest tweets from your followers.
home:tweet Post a new tweet.
user
user:show Lists info for a user.
user:timeline Lists latest tweets from a user. Defaults to you.
Coming soon!
- More API endpoints
- Tests
Contribute
- Fork the repository and download the source to your development workspace and run
bin/composer install
. - Copy
Resources/config/parameters.json.dist
toResources/config/parameters.json
and populate with your own Twitter tokens. - Checkout a branch for your code
- Write the logic for your command in
src/Bendihossan/Phitter/Command
. - Register your new command in
bin/phitter
. - Write unit tests for your command.
- Commit and push your code to GitHub, make a Pull Request to the Phitter! project.
Contact
Contact: contact@steffanharries.me.uk