bendihossan/phitter
Composer 安装命令:
composer require bendihossan/phitter
包简介
Simple Twitter client written in PHP using the Symfony2 Console component.
README 文档
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.disttoResources/config/parameters.jsonand 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
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: New
- 更新时间: 2013-04-13