{"id":19032124,"url":"https://github.com/techreagan/twitter-clone-php","last_synced_at":"2026-02-26T00:49:36.036Z","repository":{"id":115597891,"uuid":"157077481","full_name":"techreagan/twitter-clone-php","owner":"techreagan","description":"A twitter clone with basic functionality like tweet, like tweet, following system etc.","archived":false,"fork":false,"pushed_at":"2018-11-11T19:30:33.000Z","size":1402,"stargazers_count":25,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-18T01:48:07.068Z","etag":null,"topics":["htaccess","html-css-javascript","mysql","pdo","php","twitter","twitter-clone-app"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techreagan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-11-11T12:30:57.000Z","updated_at":"2024-12-30T20:00:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f093fcb-8e60-4aea-831b-70e0d4512cbe","html_url":"https://github.com/techreagan/twitter-clone-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Ftwitter-clone-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Ftwitter-clone-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Ftwitter-clone-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techreagan%2Ftwitter-clone-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techreagan","download_url":"https://codeload.github.com/techreagan/twitter-clone-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250472023,"owners_count":21436067,"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","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":["htaccess","html-css-javascript","mysql","pdo","php","twitter","twitter-clone-app"],"created_at":"2024-11-08T21:26:58.244Z","updated_at":"2026-02-26T00:49:31.010Z","avatar_url":"https://github.com/techreagan.png","language":"PHP","readme":"# Twitter Clone\n\nA twitter clone with basic functionality like tweet, like tweet, following system etc.\n\n## Development\nBuilt with vanilla javascript, myql and [Boss PHP mini Framework](https://github.com/techreagan/Boss)\n\n## Screenshot\n![Screenshot](public/img/Twitter-Screenshot-home.png)\n![Screenshot](public/img/Twitter-Screenshot-1.png)\n![Screenshot](public/img/Twitter-Screenshot-2.png)\n![Screenshot](public/img/Twitter-Screenshot-3.png)\n\n## Installation\nImport the twitter.sql to your mysql database \n\n### Fontawesome\nDownload fontawesome and include it in public/css/ the complete fontawesome folder\n\n### Configuration File\n\nModify the app/config/config.php file according to your database credentials and also your root url\n\n``` PHP\n//Database Configuration\ndefine('DB_HOST', '_YOUR_HOST');\ndefine('DB_USER', '_YOUR_DATABSE_USERNAME');\ndefine('DB_PASS', '_YOUR_DATABASE_PASSWORD');\ndefine('DB_NAME', '_YOUR DATABASE_NAME');\n// App Root \ndefine('APPROOT', dirname(dirname(__FILE__)));\n// URL Root\ndefine('URLROOT', '_YOUR_URL_');\n```\n\n### Htaccess file\n\nModify the .htaccess file inside the public folder to match the name of your installation folder, Modify only the RewriteBase.\n\n```\n\u003cIfModule mod_rewrite.c\u003e\n  Options -Multiviews\n  RewriteEngine On \n  RewriteBase /twitter/public \n  RewriteCond %{REQUEST_FILENAME} !-d \n  RewriteCond %{REQUEST_FILENAME} !-f \n  RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]\n\u003c/IfModule\u003e\n```\n\n### Javascript files\nModify the javascript files in public/js. Change the url to your url. Files to modify, index.js, follow.js, search.js and profile.js\n```Javascript\n  let url = 'http://localhost:8888/twitter/';\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechreagan%2Ftwitter-clone-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechreagan%2Ftwitter-clone-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechreagan%2Ftwitter-clone-php/lists"}