PHPackages                             smeghead/phel-pdo - 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. smeghead/phel-pdo

Abandoned → [phel-lang/phel-pdo](/?search=phel-lang%2Fphel-pdo)Library[Database &amp; ORM](/categories/database)

smeghead/phel-pdo
=================

phel-lang pdo wrapper library.

v0.3.1(3w ago)611MITShellPHP &gt;=8.4CI passing

Since Apr 23Pushed 3w ago3 watchersCompare

[ Source](https://github.com/phel-lang/phel-pdo)[ Packagist](https://packagist.org/packages/smeghead/phel-pdo)[ Fund](https://chemaclass.com/sponsor)[ RSS](/packages/smeghead-phel-pdo/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (7)Dependencies (3)Versions (17)Used By (0)

phel-pdo
========

[](#phel-pdo)

PDO wrapper for [Phel](https://phel-lang.org). Talk to relational databases from Phel without dropping into PHP interop.

Every PDO method has a wrapper, params bind with the right type automatically, rows come back as Phel maps, and transactions nest properly. Tested against SQLite, MySQL and PostgreSQL.

Install
-------

[](#install)

```
composer require phel-lang/phel-pdo
```

Requires PHP `>=8.4` and `phel-lang/phel-lang ^0.41`.

Your project needs a `phel-config.php`, as any Phel project does - that is how Phel finds both your sources and your dependencies' namespaces:

```
