PHPackages                             ntentan/atiaa - 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. ntentan/atiaa

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

ntentan/atiaa
=============

A slim wrapper around PDO to provide some extra utilities

v0.9.5(1w ago)126.3k↓80.5%3MITPHPCI passing

Since Feb 15Pushed 1w ago2 watchersCompare

[ Source](https://github.com/ntentan/atiaa)[ Packagist](https://packagist.org/packages/ntentan/atiaa)[ RSS](/packages/ntentan-atiaa/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (6)Versions (29)Used By (3)

Atiaa PDO Wrapper
=================

[](#atiaa-pdo-wrapper)

[![Build Status](https://github.com/ntentan/atiaa/actions/workflows/tests.yml/badge.svg)](https://github.com/ntentan/atiaa/actions/workflows/tests.yml)[![Code Coverage](https://camo.githubusercontent.com/4fa6deb760b4ee58ddf70bb1ea7794bda81379d6279965181118bdbdd8f2217d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e74656e74616e2f61746961612f6261646765732f636f7665726167652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/ntentan/atiaa/?branch=main)[![Latest Stable Version](https://camo.githubusercontent.com/f102267c6d996aad5c1e403761aca8abb71028f25404a238391f6aacb44e12d8/68747470733a2f2f706f7365722e707567782e6f72672f6e74656e74616e2f61746961612f76657273696f6e2e737667)](https://packagist.org/packages/ntentan/atiaa)[![Total Downloads](https://camo.githubusercontent.com/17a9b5796081009ee5291c0e54630d5fe682b9577d45a215e86c6d9d62b141d7/68747470733a2f2f706f7365722e707567782e6f72672f6e74656e74616e2f61746961612f646f776e6c6f6164732e737667)](https://packagist.org/packages/ntentan/atiaa)

Atiaa is a thin wrapper around PHP's PDO database abstraction layer. The main purpose of atiaa is to provide utility classes that other packages in the ntentan framework need (which are not available in PDO).

Currently atiaa provides the following features:

- Wrappers arround the PDO query method which prepare the query and execute in one stretch. These methods then return all the results as a simple PHP associative array.
- Methods which describe the schema of the database represented by the connection.
- A platform independent approach for quoting database literals in queries.

Currently atiaa works only with MySQL, PostgreSQL and SQLite databases. Support for other platforms is planned for later releases.

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

[](#installation)

The best way to install atiaa is to use composer. To install atiaa add `ntentan/atiaa` to your composer dependencies.

Example
-------

[](#example)

The following example tries to summarise the entirety of atiaa.

```
