PHPackages                             mtkocak/basicdb - 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. mtkocak/basicdb

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

mtkocak/basicdb
===============

A BasicDB implementation using PDO. Select, Insert, Update and Delete operations in an OOP way.

150HTML

Since Aug 8Pushed 10y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

BasicDB Class for PHP
=====================

[](#basicdb-class-for-php)

**Description**: BasicDB is a class to teach and use PDO and OOP, using abstract classes, interfaces and adapters. It simplifies also PDO usage.

Includes:

- BasicDB Class to simplify PDO
- Crudable Adapter
- Add, Edit, Index, View, Delete Adapter methods

Other things to include:

- **Technology stack**: PHP, Composer, PHPUnit should exits
- **Things to do**: Complete Doccomments.
- **Status**: Very very Alpha [CHANGELOG](CHANGELOG.md).
- **Links to production or demo instances**
- No demo.

Installation
------------

[](#installation)

1. Clone repository
2. Composer Install
3. (Optional) ant build

Configuration
-------------

[](#configuration)

For testing purposes you should create a test database and add credentials to test files.

Usage
-----

[](#usage)

See examples doler.

How to test the software
------------------------

[](#how-to-test-the-software)

build/phpunit

Known issues
------------

[](#known-issues)

No issues yet

Getting help
------------

[](#getting-help)

Feel free to mail

Getting involved
----------------

[](#getting-involved)

You can fork this package.
--------------------------

[](#you-can-fork-this-package)

Open source licensing info
--------------------------

[](#open-source-licensing-info)

1. [TERMS](TERMS.md)
2. [LICENSE](LICENSE)

---

Credits and references
----------------------

[](#credits-and-references)

I already gave credits above but, you can check;

1. [Tayfun Erbilen](http://www.erbilen.net/)
2. [Midori Kocak](http://www.mtkocak.com/)
3. [Open Source Project Template](https://github.com/cfpb/open-source-project-template)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.3% 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/983c3c55c001768e4e31e784835671f27dcccd9158a77870ffbb8167896f88f1?d=identicon)[midorikocak](/maintainers/midorikocak)

---

Top Contributors

[![tayfunerbilen](https://avatars.githubusercontent.com/u/2500557?v=4)](https://github.com/tayfunerbilen "tayfunerbilen (22 commits)")[![midorikocak](https://avatars.githubusercontent.com/u/545472?v=4)](https://github.com/midorikocak "midorikocak (8 commits)")

### Embed Badge

![Health badge](/badges/mtkocak-basicdb/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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