{"id":13720891,"url":"https://github.com/vitorhugoro1/deta-base-php","last_synced_at":"2025-05-07T13:30:47.431Z","repository":{"id":47422111,"uuid":"369966665","full_name":"vitorhugoro1/deta-base-php","owner":"vitorhugoro1","description":"The unofficial PHP Deta Base Wrapper","archived":true,"fork":false,"pushed_at":"2022-07-05T14:34:34.000Z","size":49,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-13T16:46:27.610Z","etag":null,"topics":["deta","deta-base","php"],"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/vitorhugoro1.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-23T05:14:58.000Z","updated_at":"2024-10-03T02:24:00.000Z","dependencies_parsed_at":"2022-08-28T17:13:38.954Z","dependency_job_id":null,"html_url":"https://github.com/vitorhugoro1/deta-base-php","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugoro1%2Fdeta-base-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugoro1%2Fdeta-base-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugoro1%2Fdeta-base-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorhugoro1%2Fdeta-base-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitorhugoro1","download_url":"https://codeload.github.com/vitorhugoro1/deta-base-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224604606,"owners_count":17339170,"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":["deta","deta-base","php"],"created_at":"2024-08-03T01:01:09.511Z","updated_at":"2024-11-14T10:30:39.487Z","avatar_url":"https://github.com/vitorhugoro1.png","language":"PHP","funding_links":[],"categories":["SDK's"],"sub_categories":["PHP SDK"],"readme":"# Basic PHP Wrapper for Deta Base\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/vitorhugoro1/deta-base-php.svg?style=flat-square)](https://packagist.org/packages/vitorhugoro1/deta-base-php)\n[![Total Downloads](https://img.shields.io/packagist/dt/vitorhugoro1/deta-base-php.svg?style=flat-square)](https://packagist.org/packages/vitorhugoro1/deta-base-php)\n\nA wrapper to [Http API](https://docs.deta.sh/docs/base/http) for Deta Base, you can find more information about Deta Base [here](https://docs.deta.sh/docs/base/about).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require vitorhugoro1/deta-base-php\n```\n\n## Usage\n\nTo make usage of this package, first do you need create a Deta Account following the tutorial [here](https://docs.deta.sh/docs/home), after create a account you will have access to `Project Key` and `Project Id` (remember to save this, because this values do not will be show again).\n\nAfter have `Project Key` and `Project Id`, you can create an `Deta` instance like below:\n\n```php\n$deta = new Deta(getenv('DETA_PROJECT_ID'), getenv('DETA_PROJECT_KEY'));\n```\n\nOn `Deta` class, do you have access to all this available actions:\n\n- list items (Do not have query yet)\n- create item\n- get item\n- update item\n- delete item\n\n## Testing\n\n``` bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email vitorhugo.ro10@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Vitor Merencio](https://github.com/vitorhugoro1)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitorhugoro1%2Fdeta-base-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitorhugoro1%2Fdeta-base-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitorhugoro1%2Fdeta-base-php/lists"}