{"id":19942718,"url":"https://github.com/liexusong/pcache","last_synced_at":"2025-10-30T17:34:26.497Z","repository":{"id":18448341,"uuid":"21640679","full_name":"liexusong/pcache","owner":"liexusong","description":"PHP local cache","archived":false,"fork":false,"pushed_at":"2016-04-29T12:53:39.000Z","size":90,"stargazers_count":51,"open_issues_count":0,"forks_count":24,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-20T11:33:01.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/liexusong.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":"2014-07-09T05:36:47.000Z","updated_at":"2024-03-27T03:56:19.000Z","dependencies_parsed_at":"2022-09-11T20:11:13.408Z","dependency_job_id":null,"html_url":"https://github.com/liexusong/pcache","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/liexusong%2Fpcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liexusong%2Fpcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liexusong%2Fpcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liexusong%2Fpcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liexusong","download_url":"https://codeload.github.com/liexusong/pcache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224365306,"owners_count":17299156,"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":[],"created_at":"2024-11-13T00:14:00.328Z","updated_at":"2025-10-30T17:34:26.402Z","avatar_url":"https://github.com/liexusong.png","language":"C","funding_links":[],"categories":["缓存( Caching )"],"sub_categories":[],"readme":"\u003cpre\u003e\n                                   __\n            ____  _________ ______/ /_  ___\n           / __ \\/ ___/ __ `/ ___/ __ \\/ _ \\\n          / /_/ / /__/ /_/ / /__/ / / /  __/\n         / .___/\\___/\\__,_/\\___/_/ /_/\\___/\n        /_/\n\u003c/pre\u003e\n\nExtension for PHP local cache (support PHP version 7)\n-----------------------------------------------------\nThanks to @leandre https://github.com/nly\n\nfunctions list:\n---------------\n* 1) pcache_set($key, $value, $expire = 0);\n* 2) pcache_get($key);\n* 3) pcache_del($key);\n\nExample:\n```php\n\u003c?php\n\npcache_set(\"myname\", \"liexusong\", 60); // 1 min expire\n\nvar_dump(pcache_get(\"myname\"));\n\npcache_del(\"myname\");\n\nvar_dump(pcache_get(\"myname\"));\n\n?\u003e\n```\n\nphp.ini\n```ini\npcache.buckets_size = 1000       ; set the HashTable buckets size\npcache.cache_size = 1048576      ; set memory caches size\npcache.enable = 1                ; enable pcache extension\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliexusong%2Fpcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliexusong%2Fpcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliexusong%2Fpcache/lists"}