{"id":37008594,"url":"https://github.com/khs1994-php/pickle","last_synced_at":"2026-01-14T00:50:11.792Z","repository":{"id":57006291,"uuid":"172352666","full_name":"khs1994-php/pickle","owner":"khs1994-php","description":"PHP Extension installer","archived":false,"fork":true,"pushed_at":"2025-09-29T23:10:23.000Z","size":833,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T01:04:49.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"FriendsOfPHP/pickle","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/khs1994-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-24T15:11:28.000Z","updated_at":"2025-09-29T23:10:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/khs1994-php/pickle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khs1994-php/pickle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khs1994-php%2Fpickle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khs1994-php%2Fpickle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khs1994-php%2Fpickle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khs1994-php%2Fpickle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khs1994-php","download_url":"https://codeload.github.com/khs1994-php/pickle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khs1994-php%2Fpickle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":"2026-01-14T00:50:11.647Z","updated_at":"2026-01-14T00:50:11.769Z","avatar_url":"https://github.com/khs1994-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"pickle - PHP Extension installer [![SensioLabsInsight](https://insight.sensiolabs.com/projects/7e153d04-79be-47e6-b2ee-60cdc2665dd5/small.png)](https://insight.sensiolabs.com/projects/7e153d04-79be-47e6-b2ee-60cdc2665dd5)\n================================\n\nPickle installs PHP extensions easily on all platforms.\n\n[![Code Climate](https://codeclimate.com/github/FriendsOfPHP/pickle.svg)](https://codeclimate.com/github/FriendsOfPHP/pickle)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/FriendsOfPHP/pickle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/FriendsOfPHP/pickle/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/FriendsOfPHP/pickle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/FriendsOfPHP/pickle/?branch=master)\n[![Build Status](https://travis-ci.com/khs1994-php/pickle.svg?branch=master)](https://travis-ci.com/khs1994-php/pickle)\n\n\n## Compare Upstream\n\n* https://github.com/FriendsOfPHP/pickle/compare/master...khs1994-php:master\n\n* 不维护 HHVM 部分\n\n## TODO\n\n## path arg\n\n* 支持传入多个 path  `$ pickle install xdebug yaml curl`\n* pecl name (yaml yaml-beta yaml-x.y.z)\n* git url (https://github.com/xdebug/xdebug)\n* local dir (/tmp/yaml)\n\n```bash\n.\n├── 6efa6058386c5a7af3e8f944c716fe27.tar\n├── package.xml\n└── yaml-2.0.4\n```\n\n* archive (https://github.com/xdebug/xdebug/archive/2.8.0.tar.gz)\n\n## convert to composer.json\n\n```json\n{\n    \"name\": \"yaml\",\n    \"type\": \"extension\",\n    \"license\": [\n        \"MIT\"\n    ],\n    \"authors\": [\n        {\n            \"name\": \"Bryan Davis\",\n            \"email\": \"bd808@bd808.com\"\n        }\n    ],\n    \"description\": \"YAML-1.1 parser and emitter\",\n    \"extra\": {\n        \"configure-options\": {\n            \"with-yaml\": {\n                \"default\": \"autodetect\",\n                \"prompt\": \"Please provide the prefix of libyaml installation\"\n            }\n        }\n    }\n}\n```\n\nIntroduction\n------------\n\nPickle is a new PHP extension installer. It is based on Composer and the plan is to get Composer to fully support it. See https://github.com/composer/composer/pull/2898#issuecomment-48439196 for the Composer part of the discussions.\n\nPickle fully supports existing extensions in http://pecl.php.net, running the following will install the latest available version of the memcache extension:\n\n```sh\n$ bin/pickle install memcache\n```\n\nWindows is fully supported, to install binaries or from the sources (work in progress and given that you have a working build environment in place).\n\nThe concept behind Pickle is to ease the life of both developers and end users.\n\nFor end users, nothing changes much except that Pickle is based on modern concepts and works with multiple protocols (git or http(s) URLs).\n\nFor developers, it drastically reduces the release work. Extension meta information is not duplicated anymore. Configuration options, files to package etc. are automatically fetched from the sources and the respective files are updated during the release process. There is no risk anymore of forgetting to update the version here or there, or to neglect to include a file.\n\nInstallation\n------------\n\nClone this repository and install the dependencies with\n[Composer](http://getcomposer.org/):\n\n```sh\n$ composer install\n```\n\nA [phar is also available](https://github.com/FriendsOfPHP/pickle/releases/download/v0.4.0/pickle.phar), but it might be outdated.\n\nIf you like to create your own phar from the pickle sources, you will need to install Box (http://box-project.github.io/box2/). Then clone the repository and run the following commands:\n\n```sh\n$ cd pickle\n$ composer install --no-dev --optimize-autoloader\n$ php -d phar.readonly=0 box.phar build\n```\n\nUsage\n-----\n\nUsage is pretty straightforward. For example, to install the memcache extension run the following command:\n\n```sh\n$ bin/pickle install memcache\n```\n\nYou can also use pickle from your extension directory, the following command:\n\n```sh\n$ cd myext\n$ bin/pickle install\n```\n\nA list of the commands is available using:\n\n```sh\n$ bin/pickle list\n```\n\nTo get extended help for a given command, use:\n\n```sh\n$ bin/pickle help install\n```\n\nTo convert a package (based on package.xml current PECL installer), use:\n\n```sh\n$ bin/pickle convert /home/pierre/myext/\n```\n\nOr run it from the extension source directory.\n\nContributing\n------------\n\nFork the project, create a feature branch and send us a pull request.\n\nTo ensure a consistent code base, you should make sure the code follows\nthe [PSR-1](http://www.php-fig.org/psr/psr-1/) and\n[PSR-2](http://www.php-fig.org/psr/psr-2/) coding standards.\n\nTo avoid CS issues, you should use [php-cs-fixer](http://cs.sensiolabs.org/):\n\n```sh\n$ php-cs-fixer fix src/\n```\n\nSupport\n-------\n\nSupport is available via the [issue\ntracker](https://github.com/FriendsOfPHP/pickle/issues) in the Github project page\nor via [IRC, EFNet, channel `#pickle`](http://chat.efnet.org/).\n\nRunning tests\n-------------\n\nUnit tests are written using [atoum](https://github.com/atoum/atoum).\nYou will get atoum, among other dependencies, when running `composer install`.\nTo run tests, you will need to run the following command:\n\n```sh\n$ vendor/bin/atoum\n\n# To run tests in a loop, ideal to do TDD\n$ vendor/bin/atoum --loop\n```\n\nThere are also some [Behat](https://github.com/behat/behat) tests.\nYou will get Behat, among other dependencies, when running `composer install`.\nTo run tests, you will need to run the following command:\n\n```sh\n$ vendor/bin/behat\n\n# To choose the test suite you want to run\n$ vendor/bin/behat -s pickle\n```\n\nPickle is covered using 4 Behat tests suites:\n\n* `pickle` runs tests against pickle's sources\n* `pickle_phar` runs tests against pickle's Phar which you have to manually\n  build\n* `pecl` tests PECL extensions conversion with pickle's sources\n* `phar_pecl` tests PECL extensions conversion with pickle's Phar\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhs1994-php%2Fpickle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhs1994-php%2Fpickle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhs1994-php%2Fpickle/lists"}