{"id":15296311,"url":"https://github.com/adhocore/plastic","last_synced_at":"2026-02-17T20:37:23.547Z","repository":{"id":56940848,"uuid":"169875680","full_name":"adhocore/plastic","owner":"adhocore","description":"PHP elasticsearch wrapper designed to be minimal, intuitive and dependency free","archived":false,"fork":false,"pushed_at":"2023-05-21T15:28:11.000Z","size":15,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-02T17:44:56.957Z","etag":null,"topics":["adhocore","elastic-rest","elasticsearch","php-elasticsearch-wrapper","php7","plastic"],"latest_commit_sha":null,"homepage":"","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/adhocore.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"adhocore","custom":["https://paypal.me/ji10"]}},"created_at":"2019-02-09T14:34:47.000Z","updated_at":"2024-01-05T12:39:15.000Z","dependencies_parsed_at":"2024-10-15T01:21:45.458Z","dependency_job_id":"d5f7b6d7-96c6-423e-a938-5d9f14b6162a","html_url":"https://github.com/adhocore/plastic","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.125,"last_synced_commit":"b8b5c03eaa6a9ced7e0c6fec9f0383fc17ad8cc4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/adhocore/plastic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fplastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fplastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fplastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fplastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adhocore","download_url":"https://codeload.github.com/adhocore/plastic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adhocore%2Fplastic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29557498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T20:14:27.083Z","status":"ssl_error","status_checked_at":"2026-02-17T20:14:26.018Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["adhocore","elastic-rest","elasticsearch","php-elasticsearch-wrapper","php7","plastic"],"created_at":"2024-09-30T18:10:01.950Z","updated_at":"2026-02-17T20:37:18.534Z","avatar_url":"https://github.com/adhocore.png","language":"PHP","funding_links":["https://github.com/sponsors/adhocore","https://paypal.me/ji10"],"categories":[],"sub_categories":[],"readme":"## adhocore/plastic\n\nPHP elasticsearch wrapper designed to be minimal, intuitive and dependency free.\n\n[![Latest Version](https://img.shields.io/github/release/adhocore/plastic.svg?style=flat-square)](https://github.com/adhocore/plastic/releases)\n[![Travis Build](https://img.shields.io/travis/com/adhocore/plastic.svg?branch=master\u0026style=flat-square)](https://travis-ci.com/adhocore/plastic?branch=master)\n[![Scrutinizer CI](https://img.shields.io/scrutinizer/g/adhocore/plastic.svg?style=flat-square)](https://scrutinizer-ci.com/g/adhocore/plastic/?branch=master)\n[![Codecov branch](https://img.shields.io/codecov/c/github/adhocore/plastic/master.svg?style=flat-square)](https://codecov.io/gh/adhocore/plastic)\n[![StyleCI](https://styleci.io/repos/169875680/shield)](https://styleci.io/repos/169875680)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](./LICENSE)\n\n\n## Installation\n```bash\ncomposer require adhocore/plastic\n```\n\n## Usage\n\n```php\nuse Ahc\\Plastic\\Client;\n\n# Instantiate:\n$client = new Ahc\\Plastic\\Client(null, true);\n\n# Usage convention:\n$client-\u003e{$httpMethod}-\u003e$segment1-\u003e$segment2-\u003e$method($data, $query);\n\n# For numeric segment or method, prepend with `_`!\n# (this is because PHP doesnt allow numeric method or props without some hack)\n\n# Example:\n$client-\u003epost-\u003earticles-\u003earticle-\u003e_1(['json_key' =\u003e 'value'], ['query' =\u003e 'param']);\n```\n\nSee [./test.php](./test.php) for more.\n\n## API\n\nThere is none. It works analagous to the RESTful API of [elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs.html).\n\n\u003c!-- DOCS START --\u003e\n\u003c!-- DOCS END --\u003e\n\n## Contributing\n\nPlease check [the guide](./CONTRIBUTING.md)\n\n## LICENSE\n\n\u003e \u0026copy; [MIT](./LICENSE) | 2019, Jitendra Adhikari\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Fplastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadhocore%2Fplastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadhocore%2Fplastic/lists"}