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. [Database &amp; ORM](/categories/database)
4. /
5. kazeemola/beere

ActiveLibrary[Database &amp; ORM](/categories/database)

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

PHP Database Query with Restful json response

511PHP

Since Jun 5Pushed 9y ago3 watchersCompare

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

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 18% 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://avatars.githubusercontent.com/u/19539984?v=4)[Kazeem Olanipekun](/maintainers/Procaseycash)[@Procaseycash](https://github.com/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)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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