{"id":22518411,"url":"https://github.com/nbari/dalmp","last_synced_at":"2025-12-30T14:53:57.650Z","repository":{"id":1013599,"uuid":"837404","full_name":"nbari/DALMP","owner":"nbari","description":"Database Abstraction Layer for MySQL using PHP","archived":false,"fork":false,"pushed_at":"2020-02-16T03:15:23.000Z","size":1231,"stargazers_count":29,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-15T23:12:19.777Z","etag":null,"topics":["database","memcache","mysql","php","redis"],"latest_commit_sha":null,"homepage":"www.dalmp.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nbari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-08-14T09:12:45.000Z","updated_at":"2020-02-16T01:16:30.000Z","dependencies_parsed_at":"2022-07-06T01:32:04.896Z","dependency_job_id":null,"html_url":"https://github.com/nbari/DALMP","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2FDALMP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2FDALMP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2FDALMP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbari%2FDALMP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbari","download_url":"https://codeload.github.com/nbari/DALMP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228557095,"owners_count":17936452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","memcache","mysql","php","redis"],"created_at":"2024-12-07T04:15:34.413Z","updated_at":"2025-12-12T22:21:40.680Z","avatar_url":"https://github.com/nbari.png","language":"PHP","readme":"DALMP\n=====\n\n**Database Abstraction Layer for MySQL using PHP**\n\n0% fat and extremely easy to use. Only connect to database when needed.\n\nExamples and documentation at: http://docs.dalmp.com\n\n\nClone the repository:\n\n\n    $ git clone https://github.com/nbari/DALMP.git dalmp\n\n\nTo Install visit  http://docs.dalmp.com/en/latest/Install.html\n\nThanks\n------\n\nMany thanks [Navicat](http://www.navicat.com) for supporting Open Source projects.\n\n![navicat](https://raw.githubusercontent.com/nbari/DALMP/master/docs/navicat.jpg)\n\nDetails\n-------\n\n* [Dependecy Injector](http://docs.dalmp.com/en/latest/DI.html) (DI) support, load once, trigger when required.\n* [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\u003e) cache support.\n* Group [caching cache](http://docs.dalmp.com/en/latest/cache.html) by groups and flush by groups or individual keys.\n* [Prepared statements](http://docs.dalmp.com/en/latest/prepared_statements.html) ready, support dynamic building queries, auto detect types (i,d,s,b).\n* Secure connections with [SSL](http://docs.dalmp.com/en/latest/Quickstart.html#ssl).\n* [SQLite3 Encryption](http://docs.dalmp.com/en/latest/queue/SQLite.html).\n* Save [sessions in database](http://docs.dalmp.com/en/latest/sessions.html) (mysql/sqlite) or a cache like redis/memcache/apc.\n* Easy to use/install/adapt.\n* Nested [Transactions](http://docs.dalmp.com/en/latest/database/StartTrans.html) (SAVEPOINT / ROLLBACK TO SAVEPOINT).\n* Support connections via [unix_sockets](http://docs.dalmp.com/en/latest/Quickstart.html#example-using-a-socket).\n* SQL [queues](http://docs.dalmp.com/en/latest/queue.html).\n* Export to [CSV](http://docs.dalmp.com/en/latest/database/csv.html).\n* Trace/measure everything enabling the [debugger](http://docs.dalmp.com/en/latest/database/debug.htm).\n* 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/).\n* Lazy database connection. Connect only when needed.\n* [PSR-0](http://www.php-fig.org/psr/psr-0/) compliance.\n\n\nRequirements\n------------\n\n* [PHP](http://www.php.net\u003e) \u003e= 5.4\n* A [MySQL](http://www.mysql.org) server to connect via host or [unix sockets](http://en.wikipedia.org/wiki/Unix_domain_socket).\n\nTo use the cache features you need either the redis, memcache or APC extensions\ncompiled, otherwise disk cache will be used.\n\n* Redis extension - http://github.com/nicolasff/phpredis\n* Memcache PECL extencsion - http://pecl.php.net/package/memcache\n* APC PECL extension - http://pecl.php.net/package/APC\n\nIf you want to store session encrypted then you need SQLite3 Encryption http://sqlcipher.net.\n\n**DALMP** does not use [PDO](http://www.php.net/pdo), so do not worry if your PHP does not have the pdo\nextension.\n\nOn [FreeBSD](http://www.freebsd.org) you can install **DALMP** from ports: /usr/ports/databases/dalmp\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbari%2Fdalmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbari%2Fdalmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbari%2Fdalmp/lists"}