{"id":33018429,"url":"https://github.com/kherge-archive/php-object-storage","last_synced_at":"2025-11-16T14:00:38.443Z","repository":{"id":62516041,"uuid":"10803179","full_name":"kherge-archive/php-object-storage","owner":"kherge-archive","description":"An object store for specific objects.","archived":true,"fork":false,"pushed_at":"2013-06-19T18:47:41.000Z","size":116,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T22:26:45.276Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kherge-archive.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":"2013-06-19T18:30:32.000Z","updated_at":"2023-11-11T05:20:17.000Z","dependencies_parsed_at":"2022-11-02T10:30:55.467Z","dependency_job_id":null,"html_url":"https://github.com/kherge-archive/php-object-storage","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kherge-archive/php-object-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherge-archive%2Fphp-object-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherge-archive%2Fphp-object-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherge-archive%2Fphp-object-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherge-archive%2Fphp-object-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kherge-archive","download_url":"https://codeload.github.com/kherge-archive/php-object-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kherge-archive%2Fphp-object-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284719042,"owners_count":27052182,"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","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-11-13T18:00:39.568Z","updated_at":"2025-11-16T14:00:38.438Z","avatar_url":"https://github.com/kherge-archive.png","language":"PHP","funding_links":[],"categories":["数据结构和存储","数据结构和存储( Data Structure and Storage )"],"sub_categories":[],"readme":"Object Storage\n==============\n\n[![Build Status]](http://travis-ci.org/herrera-io/php-object-storage)\n\nA simple object storage class that will only allow \"supported\" objects.\n\n```php\nclass MyObjectStorage extends Herrera\\Util\\ObjectStorage\n{\n    public function isSupported($object)\n    {\n        return ($object instanceof PDO);\n    }\n}\n\n$store = new MyObjectStorage();\n$pdo = new PDO('dsn...');\n$time = new DateTime();\n\n$store-\u003eattach($pdo);\n$store-\u003eattach($time); // throws \"UnexpectedValueException\"\n```\n\nDocumentation\n-------------\n\n- [Installing][]\n- [Usage][]\n\n[Build Status]: https://secure.travis-ci.org/herrera-io/php-object-storage.png?branch=master\n[Installing]: doc/00-Installing.md\n[Usage]: doc/01-Usage.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkherge-archive%2Fphp-object-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkherge-archive%2Fphp-object-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkherge-archive%2Fphp-object-storage/lists"}