PHPackages                             varuns/borum-sleep - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. varuns/borum-sleep

Abandoned → [varuns/php-sleep](/?search=varuns%2Fphp-sleep)Library[API Development](/categories/api)

varuns/borum-sleep
==================

An object-oriented PHP library for a simple REST service

v1.11.2(3y ago)21621[3 issues](https://github.com/varunsingh87/php-sleep/issues)MITPHP

Since Nov 18Pushed 3y agoCompare

[ Source](https://github.com/varunsingh87/php-sleep)[ Packagist](https://packagist.org/packages/varuns/borum-sleep)[ RSS](/packages/varuns-borum-sleep/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (1)Versions (36)Used By (0)

PHP Sleep
=========

[](#php-sleep)

[![License](https://camo.githubusercontent.com/d74d9d2b0c961bd5a32f6448a09182c0f7c770bcd5884c74e334791806444e93/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f40617069646576746f6f6c732f737761676765722d7061727365722e737667)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/e27c2ea7ee145399ec2e828d61888a2d4e67ad42c12edbdaaf42d124e136b062/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766172756e732f7068702d736c6565703f696e636c7564655f70726572656c656173657326636f6c6f723d677265656e267374796c653d706c6173746963)](https://packagist.org/packages/varuns/php-sleep)[![Buy us a tree](https://camo.githubusercontent.com/130148911f548b001b2ac68a32c0a06559977ca60ada3bf480c72ae4ea093175/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e)](https://plant.treeware.earth/varunsingh87/php-sleep)

An object-oriented PHP library for a simple REST service

PHP Sleep is a PHP library for creating JSON-based REST APIs that interact with a MySQL database.

Getting Started
---------------

[](#getting-started)

The library uses PHP's `$_ENV` superglobal to access the environmental variables. For 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.

Usage
-----

[](#usage)

1. Make sure [Composer](https://getcomposer.org/) is installed
2. Run `composer require varuns/php-sleep`

Contributing
------------

[](#contributing)

So 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:

1. Read [the contributing guidelines](CONTRIBUTING.md).
2. Open an issue or pull request preferably using an existing template

License
-------

[](#license)

PHP Sleep is 100% free and open-source, under the MIT license. You may use it however you please.

This 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.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~23 days

Recently: every ~0 days

Total

35

Last Release

1233d ago

Major Versions

v0.1.2 → v1.0.0-alpha2021-03-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/678543?v=4)[varuns](/maintainers/varuns)[@varuns](https://github.com/varuns)

---

Top Contributors

[![varunsingh87](https://avatars.githubusercontent.com/u/31084854?v=4)](https://github.com/varunsingh87 "varunsingh87 (60 commits)")

---

Tags

hacktoberfestphpphp-libraryvercel-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/varuns-borum-sleep/health.svg)

```
[![Health](https://phpackages.com/badges/varuns-borum-sleep/health.svg)](https://phpackages.com/packages/varuns-borum-sleep)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
