Taladb is a lightweight, framework-agnostic PHP database abstraction library built on PDO that provides a clean API, query builder, and support for MySQL, MariaDB, and PostgreSQL.

Stars

7

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It offers a simple, modern alternative to heavier ORMs by combining design patterns from Laravel Database, Doctrine DBAL, and MeekroDB while remaining framework-agnostic and PDO-based.

Who it is for

  • PHP developers seeking a lightweight database layer
  • Developers migrating from raw PDO to a cleaner API
  • Small to medium project teams that want multi-database support without vendor lock-in
  • Educators or learners exploring database abstraction concepts

Use cases

  • Building web applications that require multiple database drivers
  • Replacing raw PDO usage with a structured query builder and transaction support
  • Prototyping projects where a full ORM is unnecessary
  • Migrating from one supported database to another with minimal code changes

Strengths

  • Clean, intuitive API inspired by well-established libraries (Laravel, Doctrine)
  • Built on PDO for reliability and familiarity among PHP developers
  • Immediate support for three major databases (MySQL, MariaDB, PostgreSQL)
  • Modern PHP 8.3+ compatibility and framework-agnostic design

Considerations

  • Missing support for SQLite and SQL Server (currently only planned)
  • No integration with ORM features like migrations or relationships
  • Requires PHP 8.3+, excluding projects on older PHP versions
  • Project appears early-stage without extensive community adoption or benchmarks

README quick start

Taladb

A modern, lightweight, framework-agnostic PHP database library built on PDO.

Multi-database support • Clean API • Query Builder • Transactions • Collections

🚀 About Taladb

Taladb is an open-source PHP database abstraction library inspired by:

  • Laravel Database Component
  • Doctrine DBAL
  • MeekroDB

The goal of Taladb is to provide a simple, modern, and extensible database layer for PHP applications.

Taladb is built on top of PDO while hiding database complexity behind a clean API.


✨ Features

Current Features

✅ PHP 8.3+ Support
✅ PDO-based architecture
✅ Multiple database drivers
✅ Connection management
✅ Clean configuration system
✅ Exception handling

Supported Databases

DatabaseStatus
MySQL✅ Working
MariaDB✅ Working
PostgreSQL✅ Working
SQLite🚧 Planned
SQL Server🚧 Planned

📦 Installation

Install using Composer:

composer require tala/taladb

Description

A modern, lightweight, framework-agnostic PHP database library built on PDO.

Related repositories

Similar projects matched by category, topics, and programming language.

islam-re
islam-re GitHub avatar

Algeria-wilayas

A dataset of all 69 Algerian wilayas (provinces) following the 2026 administrative reform, provided in multiple data formats.

Data & DatabasesDatabases & Storage
15
Krishnagangwal
Featured
Krishnagangwal GitHub avatar

CS-Fundamentals

A curated collection of Computer Science fundamentals (PDFs, notes, cheatsheets, interview question banks) for placement preparation, covering seven core subjects plus general resources.

Data & DatabasesDatabases & Storage
2,326
robbin
robbin GitHub avatar

wechat-exporter

A Claude Code/Codex skill to export all WeChat chat records from macOS desktop client into plain-text SQLite databases.

Data & DatabasesDatabases & Storage
148