{"id":13669177,"url":"https://github.com/ukko/phpredis-phpdoc","last_synced_at":"2025-05-16T10:08:00.408Z","repository":{"id":1422605,"uuid":"1545317","full_name":"ukko/phpredis-phpdoc","owner":"ukko","description":"@phpdoc extension php for IDE autocomplete","archived":false,"fork":false,"pushed_at":"2021-05-08T16:57:08.000Z","size":413,"stargazers_count":216,"open_issues_count":9,"forks_count":78,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-03T10:02:40.595Z","etag":null,"topics":["php","phpredis","redis"],"latest_commit_sha":null,"homepage":"https://github.com/nicolasff/phpredis","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/ukko.png","metadata":{"files":{"readme":"README.markdown","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":"2011-03-30T08:20:46.000Z","updated_at":"2025-01-16T10:34:06.000Z","dependencies_parsed_at":"2022-07-29T13:09:51.359Z","dependency_job_id":null,"html_url":"https://github.com/ukko/phpredis-phpdoc","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukko%2Fphpredis-phpdoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukko%2Fphpredis-phpdoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukko%2Fphpredis-phpdoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukko%2Fphpredis-phpdoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ukko","download_url":"https://codeload.github.com/ukko/phpredis-phpdoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252571418,"owners_count":21769829,"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":["php","phpredis","redis"],"created_at":"2024-08-02T08:01:05.166Z","updated_at":"2025-05-16T10:07:55.399Z","avatar_url":"https://github.com/ukko.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"You need to add the path to a class of global include path.\n\nAfter that, your IDE, when you declare a class Redis will display a hint which methods of this object can be used.\n\n### For example:\n\n    $redis = new Redis();\n    $redis-\u003econ\u003cpress Tab or press Ctrl+Space\u003e\n\n### Warning:\n\nDo not forget to declare a variable type $ redis\n\n    /**\n     * Please do not forget to specify the variable type\n     * @var Redis\n     */\n    public $redis = null;\n\n![Example of use](https://github.com/ukko/phpredis-phpdoc/raw/master/redisphp.png)\n\n### Install\n\n * Install [redis-server](http://redis.io/download)\n * Install [phpredis extension](https://github.com/nicolasff/phpredis)\n * The simpliest way to install and use phpredis-phpdoc is to use Composer, as there is a [package on Packagist](https://packagist.org/packages/ukko/phpredis-phpdoc). Just add this to your project composer.json file :\n\n    {\n        \"require\": {\n            \"ukko/phpredis-phpdoc\": \"*\"\n        },\n        \"minimum-stability\": \"dev\"\n    }\n\n * Or direct download [phpredis-phpdoc](https://github.com/ukko/phpredis-phpdoc/tarball/master)\n\n### Setup in IDE PhpStorm\n\n Menu \"File\" -\u003e \"Settings\" -\u003e \"PHP\" -\u003e _Select path to folder \"phpredis-phpdoc\"_\n\n### Setup in IDE NetBeans\n\n * Save the file to netbeans stubs folder. For example:\n `~/netbeans-8.2/php/phpstubs/phpruntime/redis.php`\n\n### Setup in Zend Studio IDE (Eclipse PDT)\n\n * Open \"Window\" -\u003e \"Preferences\"\n * In preferences dialog open \"PHP\" -\u003e \"PHP Libriaries\"\n * Click \"New\" button, in \"User library name\" enter \"Redis\", click \"OK\"\n * Select newly created \"Redis\", library Click \"Add external folder\", select path to the folder which contains your checkout of phpredis-phpdoc or you can download single \"Redis.php\" file https://raw.github.com/ukko/phpredis-phpdoc/master/src/Redis.php\n * Include your custom library in your project: open \"Project\" -\u003e \"Properties\" -\u003e \"PHP Include Path\", click add library, select \"User library\", click \"Next\", check \"Redis\", click \"Finish\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukko%2Fphpredis-phpdoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukko%2Fphpredis-phpdoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukko%2Fphpredis-phpdoc/lists"}