{"id":15188455,"url":"https://github.com/amieiro/laravel-twitter-bot","last_synced_at":"2025-10-02T03:30:44.135Z","repository":{"id":77899105,"uuid":"109066569","full_name":"amieiro/laravel-twitter-bot","owner":"amieiro","description":"A Laravel Twitter bot proof of concept","archived":true,"fork":false,"pushed_at":"2019-10-22T22:46:28.000Z","size":189,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-21T09:35:55.796Z","etag":null,"topics":["bot","bots","laravel","laravel-twitter-bot","laravel5","laravel5-5","laravel55","twitter","twitter-bot"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amieiro.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-01T00:22:58.000Z","updated_at":"2023-03-17T12:09:41.000Z","dependencies_parsed_at":"2023-03-06T21:00:37.505Z","dependency_job_id":null,"html_url":"https://github.com/amieiro/laravel-twitter-bot","commit_stats":{"total_commits":13,"total_committers":3,"mean_commits":4.333333333333333,"dds":"0.15384615384615385","last_synced_commit":"589d42704f4c4a40a5e7cbbf676903420cef57ab"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amieiro/laravel-twitter-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amieiro%2Flaravel-twitter-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amieiro%2Flaravel-twitter-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amieiro%2Flaravel-twitter-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amieiro%2Flaravel-twitter-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amieiro","download_url":"https://codeload.github.com/amieiro/laravel-twitter-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amieiro%2Flaravel-twitter-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277950332,"owners_count":25904480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","bots","laravel","laravel-twitter-bot","laravel5","laravel5-5","laravel55","twitter","twitter-bot"],"created_at":"2024-09-27T19:20:40.838Z","updated_at":"2025-10-02T03:30:43.796Z","avatar_url":"https://github.com/amieiro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Laravel Twitter Bot\n\nThis app sends random tweets (selected from a database) periodically (each hour) and automatically, through the Laravel task scheduling. This project doesn't have a graphical user interface.\n\nYou can read how I developed this app in my blog: [Creating a Laravel Twitter bot](https://www.jesusamieiro.com/creating-a-laravel-twitter-bot/)\n\n## Requirements\n\nYou need shell access to a server with the [server requirements for a Laravel 5.5 application](https://laravel.com/docs/5.5/installation#server-requirements):  \n\n- PHP \u003e= 7.0.0\n- OpenSSL PHP Extension\n- PDO PHP Extension\n- Mbstring PHP Extension\n- Tokenizer PHP Extension\n- XML PHP Extension\n\nYou need to create a Twitter app and the four keys from the app:\n\n- Consumer Key (API Key)\n- Consumer Secret (API Secret)\n- Access Token\n- Access Token Secret\n\n## Install the bot\n\n- Clone the project. \n\n```shell\ngit clone https://github.com/amieiro/laravel-twitter-bot.git\n```\n    \n- Run composer\n\n```shell\ncomposer install\n```\n    \n- Modify the seeder if you need to change it: edit the database/seeds/TweetsTableSeeder.php file.\n\n- Create the database\n\n```shell\ntouch database/laravel-twitter-bot.sqlite\n```\n\n- Migrate the database with the seeder\n\n```shell\nphp artisan migrate:refresh --seed\n```\n\n- Create the .env file\n\n```shell\ncp .env.example .env\n```\n\n- Add the 4 keys from the Twitter app in the .env file.\n\n- Add the scheduler in the cron\n\n```shell\n* * * * * php /home/vagrant/Code/web/laravel-twitter-bot/artisan schedule:run \u003e\u003e /dev/null 2\u003e\u00261\n```\n\n## License\n\nThe Laravel Twitter Bot is open-sourced software licensed under the [GNU GPL v3](https://opensource.org/licenses/GPL-3.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famieiro%2Flaravel-twitter-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famieiro%2Flaravel-twitter-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famieiro%2Flaravel-twitter-bot/lists"}