{"id":27494730,"url":"https://github.com/varunsingh87/php-sleep","last_synced_at":"2025-08-01T04:19:03.247Z","repository":{"id":57076987,"uuid":"309001182","full_name":"varunsingh87/php-sleep","owner":"varunsingh87","description":"An object-oriented PHP library for a simple REST service","archived":false,"fork":false,"pushed_at":"2022-12-31T06:52:48.000Z","size":48,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-28T18:11:27.872Z","etag":null,"topics":["hacktoberfest","php","php-library","vercel-php"],"latest_commit_sha":null,"homepage":"https://developer.borumtech.com/Sleep","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/varunsingh87.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-01T01:14:00.000Z","updated_at":"2023-02-05T04:23:57.000Z","dependencies_parsed_at":"2023-01-31T18:31:35.153Z","dependency_job_id":null,"html_url":"https://github.com/varunsingh87/php-sleep","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsingh87%2Fphp-sleep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsingh87%2Fphp-sleep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsingh87%2Fphp-sleep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsingh87%2Fphp-sleep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varunsingh87","download_url":"https://codeload.github.com/varunsingh87/php-sleep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249300671,"owners_count":21247083,"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":["hacktoberfest","php","php-library","vercel-php"],"created_at":"2025-04-17T02:11:49.403Z","updated_at":"2025-04-17T02:11:49.934Z","avatar_url":"https://github.com/varunsingh87.png","language":"PHP","readme":"# PHP Sleep\n\n[![License](https://img.shields.io/npm/l/@apidevtools/swagger-parser.svg)](LICENSE)\n[![Packagist Version](https://img.shields.io/packagist/v/varuns/php-sleep?include_prereleases\u0026color=green\u0026style=plastic)](https://packagist.org/packages/varuns/php-sleep)\n[![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/varunsingh87/php-sleep)\n\nAn object-oriented PHP library for a simple REST service\n\nPHP Sleep is a PHP library for creating JSON-based REST APIs that interact with a MySQL database.\n\n## Getting Started\n\nThe library uses PHP's `$_ENV` superglobal to access the environmental variables. \nFor this reason, PHP Sleep is only guaranteed to work when using [Vercel](vercel.com/) as the hosting platform and [vercel-php](https://github.com/juicyfx/vercel-php) as the runtime. If you have not already, switch to Vercel and vercel-php and make sure your `now.json` file is valid.\n\n## Usage\n\n1. Make sure [Composer](https://getcomposer.org/) is installed\n\n2. Run `composer require varuns/php-sleep`\n\n## Contributing\n\nSo you'd like to contribute to the PHP Sleep library? Excellent! Thank you very much. I can absolutely use your help. Follow the steps below:\n\n1. Read [the contributing guidelines](CONTRIBUTING.md).\n2. Open an issue or pull request preferably using an existing template\n\n## License\n\nPHP Sleep is 100% free and open-source, under the MIT license. You may use it however you please.\n\nThis package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/varunsingh87/php-sleep) to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsingh87%2Fphp-sleep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarunsingh87%2Fphp-sleep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsingh87%2Fphp-sleep/lists"}