PHPackages                             kazeemola/beere - 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. kazeemola/beere

ActiveLibrary

kazeemola/beere
===============

PHP Database Query with Restful json response

511PHP

Since Jun 5Pushed 8y ago3 watchersCompare

[ Source](https://github.com/Procaseycash/beere)[ Packagist](https://packagist.org/packages/kazeemola/beere)[ RSS](/packages/kazeemola-beere/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

```
# beere Class (PDO & MYSQL Version), Born of PHP7
#
#
# Making Restful Query to JSON MYSQL
# This 'Beere' Class is of PHP 7, other lower version might have problem to use the query methods.
# This 'Beere' class reduces many mysqli query you need to do on every service request
# this 'Beere' class helps to structure all operations of your app in one file.
# it make use of array of key and value of which the key correspond to table field and value is content to save.
# request are sent in array form and response is send in Json to the caller.
# There are many operations this class of BeereOperations & BeerePdoOperations can perform to help develop a restful response service synchronously and asynchronously.
# To save nested array of level 2, use saveMultiples.
# The response returns json of five category of data, which are:
# Status which is Integer to denote 200 for success and 400 for failure.
# Message which is string,
# Data which  can either be json of data queried
# Code is bool to denote success
# Total: this is majorly used while using list based on limit.
# We now cover all execution of the Beere Class methods to query for restful response.
# Kindly change the connection in utils folder to connect with your own database and create a table user with email, first_name, * status fields.
# Study it well to see how powerful it is by using one or more together to achieve your goal. it is well optimised.
# To use The MYSQLI VERSION:
# require beereOperation and instantiate the class.
#
# To use The PDO VERSION:
# require beerePdoOperation and instantiate the class.

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec504e3e9bc2da8a843d5d2b0b60b874ffe805db884f5fcd34c933e21e568c0a?d=identicon)[Procaseycash](/maintainers/Procaseycash)

---

Top Contributors

[![Procaseycash](https://avatars.githubusercontent.com/u/19539984?v=4)](https://github.com/Procaseycash "Procaseycash (50 commits)")

### Embed Badge

![Health badge](/badges/kazeemola-beere/health.svg)

```
[![Health](https://phpackages.com/badges/kazeemola-beere/health.svg)](https://phpackages.com/packages/kazeemola-beere)
```

PHPackages © 2026

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