PHPackages                             dalmp/dalmp - 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. dalmp/dalmp

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

dalmp/dalmp
===========

Database Abstraction Layer for MySQL using PHP

3.1.0(6y ago)28914BSD-3-ClausePHPPHP &gt;=5.4.0

Since Jun 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nbari/DALMP)[ Packagist](https://packagist.org/packages/dalmp/dalmp)[ Docs](http://www.dalmp.com)[ RSS](/packages/dalmp-dalmp/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

DALMP
=====

[](#dalmp)

**Database Abstraction Layer for MySQL using PHP**

0% fat and extremely easy to use. Only connect to database when needed.

Examples and documentation at:

Clone the repository:

```
$ git clone https://github.com/nbari/DALMP.git dalmp

```

To Install visit

Thanks
------

[](#thanks)

Many thanks [Navicat](http://www.navicat.com) for supporting Open Source projects.

[![navicat](https://raw.githubusercontent.com/nbari/DALMP/master/docs/navicat.jpg)](https://raw.githubusercontent.com/nbari/DALMP/master/docs/navicat.jpg)

Details
-------

[](#details)

- [Dependecy Injector](http://docs.dalmp.com/en/latest/DI.html) (DI) support, load once, trigger when required.
- [APC](http://docs.dalmp.com/en/latest/cache/APC.html), [Disk](http://docs.dalmp.com/en/latest/cache/disk.html), [Memcache](http://docs.dalmp.com/en/latest/cache/memcache.html), [Redis.io](http://docs.dalmp.com/en/latest/cache/redis.html%3E) cache support.
- Group [caching cache](http://docs.dalmp.com/en/latest/cache.html) by groups and flush by groups or individual keys.
- [Prepared statements](http://docs.dalmp.com/en/latest/prepared_statements.html) ready, support dynamic building queries, auto detect types (i,d,s,b).
- Secure connections with [SSL](http://docs.dalmp.com/en/latest/Quickstart.html#ssl).
- [SQLite3 Encryption](http://docs.dalmp.com/en/latest/queue/SQLite.html).
- Save [sessions in database](http://docs.dalmp.com/en/latest/sessions.html) (mysql/sqlite) or a cache like redis/memcache/apc.
- Easy to use/install/adapt.
- Nested [Transactions](http://docs.dalmp.com/en/latest/database/StartTrans.html) (SAVEPOINT / ROLLBACK TO SAVEPOINT).
- Support connections via [unix\_sockets](http://docs.dalmp.com/en/latest/Quickstart.html#example-using-a-socket).
- SQL [queues](http://docs.dalmp.com/en/latest/queue.html).
- Export to [CSV](http://docs.dalmp.com/en/latest/database/csv.html).
- Trace/measure everything enabling the [debugger](http://docs.dalmp.com/en/latest/database/debug.htm).
- Works out of the box with Cloud databases like [Amazon RDS](http://aws.amazon.com/rds/) or [Google cloud](https://developers.google.com/cloud-sql/).
- Lazy database connection. Connect only when needed.
- [PSR-0](http://www.php-fig.org/psr/psr-0/) compliance.

Requirements
------------

[](#requirements)

- [PHP](http://www.php.net%3E) &gt;= 5.4
- A [MySQL](http://www.mysql.org) server to connect via host or [unix sockets](http://en.wikipedia.org/wiki/Unix_domain_socket).

To use the cache features you need either the redis, memcache or APC extensions compiled, otherwise disk cache will be used.

- Redis extension -
- Memcache PECL extencsion -
- APC PECL extension -

If you want to store session encrypted then you need SQLite3 Encryption .

**DALMP** does not use [PDO](http://www.php.net/pdo), so do not worry if your PHP does not have the pdo extension.

On [FreeBSD](http://www.freebsd.org) you can install **DALMP** from ports: /usr/ports/databases/dalmp

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~2027 days

Total

2

Last Release

2327d ago

### Community

Maintainers

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

---

Top Contributors

[![falmp](https://avatars.githubusercontent.com/u/94873?v=4)](https://github.com/falmp "falmp (3 commits)")[![nbari](https://avatars.githubusercontent.com/u/364199?v=4)](https://github.com/nbari "nbari (2 commits)")[![andsav](https://avatars.githubusercontent.com/u/5506087?v=4)](https://github.com/andsav "andsav (1 commits)")

---

Tags

databasememcachemysqlphpredisdatabasecachesessions

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[vectorial1024/laravel-cache-evict

Efficiently remove expired Laravel file/database cache data

5916.2k](/packages/vectorial1024-laravel-cache-evict)[ytake/laravel-couchbase

Couchbase providers for Laravel

3052.1k](/packages/ytake-laravel-couchbase)[eusonlito/laravel-database-cache

Cache Database Query results on Laravel Query Builder or Eloquent

194.3k](/packages/eusonlito-laravel-database-cache)

PHPackages © 2026

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