{"id":16909800,"url":"https://github.com/drager/pophub","last_synced_at":"2026-04-29T22:42:01.492Z","repository":{"id":32951129,"uuid":"36547604","full_name":"drager/pophub","owner":"drager","description":"Follow the most popular users on Github ","archived":false,"fork":false,"pushed_at":"2015-05-30T07:09:12.000Z","size":768,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T06:37:50.606Z","etag":null,"topics":[],"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/drager.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}},"created_at":"2015-05-30T07:07:56.000Z","updated_at":"2015-05-30T07:08:41.000Z","dependencies_parsed_at":"2022-07-14T01:20:37.013Z","dependency_job_id":null,"html_url":"https://github.com/drager/pophub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drager/pophub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fpophub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fpophub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fpophub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fpophub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drager","download_url":"https://codeload.github.com/drager/pophub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drager%2Fpophub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32447301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-13T18:57:47.511Z","updated_at":"2026-04-29T22:42:01.477Z","avatar_url":"https://github.com/drager.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PopHub\n======\nFollow the most popular users on Github.\n\n[![Build Status](https://travis-ci.org/drager/pophub.svg?branch=master)](https://travis-ci.org/drager/pophub)\n\n[![Coverage Status](https://img.shields.io/coveralls/drager/pophub.svg)](https://coveralls.io/r/drager/pophub)\n\n## Documentation\nRead below for some documentation, there are more documentation\n[here](https://github.com/drager/pophub/tree/master/doc) as well.\n\n## Limitations\n\nGitHub's API has some limitations, you can read more at \nhttps://developer.github.com/v3/search/#about-the-search-api and\nhttps://developer.github.com/v3/search/#rate-limit\n\n## Dependencies\n\nPHP Version 5.4, 5.5, 5.6\n\nCheck [composer.json](https://github.com/jh222xk/pophub/blob/master/composer.json) for dependencies needed.\n\nThose components in `composer.json` certainly has some dependencies as well. (Hopefully those will be installed without problems).\n\nIf `composer install` fails it may depend on the --dev specific dependencies.\nThey use **cURL** so enable it or skip those dependencies running\n`composer install --no-dev` instead.\n\n**KEEP IN MIND** if you run using `composer install --no-dev` you cannot\nrun tests.\n\n**Memcached** and **MySQL** is a dependency as well.\n\n## Local version\n\n### Keep in mind\nKeep in mind that the login **WONT** work without a valid `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET`.\n\n### Install dependencies\n\nFirst of get [composer](https://getcomposer.org/)\n\nThen run `composer install` and all the dependencies will be installed.\n\n### Windows\n\nWindows can have trouble setting up memcached...\n\nFirst of all you need memcached for windows, there's a guide [here](http://zurmo.org/wiki/installing-memcache-on-windows). In the section \"Installing PHP Extension\" get a file [here](http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/) instead, and choose your php version.\n\nIf you can't get memcache**d** (Notice the d at the end). but can install\nmemcache you will need to change the line [here](https://github.com/jh222xk/pophub/blob/master/kagu/src/Cache/Memcached.php#L15)\nfrom `new \\Memcached()` to `new \\Memcache()`.\n\n### Ubuntu\n\nThere's a great guide on how you setup memcached [here](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-memcache-on-ubuntu-12-04).\n\n### If you can't install memcached for some reason\n\nIf you can't install memcached there's a branch for you without it\n[here](https://github.com/drager/pophub/tree/without_memcached).\n\n## Database\n\n### Settings\n\nSet up a database with the name specified in `path/to/pophub/app/config/app.php`\nin `DB_CONNECTION =\u003e`, a database username in `DB_USER =\u003e` and a database password\nin `DB_PASSWORD =\u003e`\n\n### Create table using pop command\n\n#### Windows\n\nRun the command line script located at `path/to/pophub` called `pop`.\n\nRun it like this: `php pop create`\n\n#### Linux/OSX\n\nFirst of, set `chmod +x` on the script located at `path/to/pophub` called `pop`.\n\nThen run it like this: `php pop create`\n\n### Create table manually\nHere is the table needed.\n```sql\nCREATE TABLE followers (\nid INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\nuser VARCHAR(255) NOT NULL,\nowner VARCHAR(255) NOT NULL,\ncreated_at DATETIME NOT NULL);\n```\n\n### Run the application\n\nLocate to `path/to/pophub/app/`then just run PHP's built-in server using the command: `php -S localhost:9999` and the application will be served.\n\n## Tests\n\nThe tests for the main applicaiton are located at `path/to/pophub/app/tests/`\n\nTests for \"helpers\" are located at `path/to/pophub/kagu/tests/`\n\n### Run tests\n\nTo run the tests just locate to `path/to/pophub/` and type `vendor/bin/phpunit app/tests/`\n\nand for the \"helpers\" type `vendor/bin/phpunit kagu/tests/`\n\n### Test/Code coverage\n\nTo get code coverage simply locate to `path/to/pophub/` and type `vendor/bin/phpunit --coverage-html ./report app/tests/` and PHPUnit will generate a report for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrager%2Fpophub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrager%2Fpophub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrager%2Fpophub/lists"}