PHPackages                             fastpress/database - 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. fastpress/database

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

fastpress/database
==================

A simple database abstraction layer for PHP applications

0.1.5(1y ago)0251MITPHPPHP &gt;=7.4

Since Dec 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/fastpress/database)[ Packagist](https://packagist.org/packages/fastpress/database)[ RSS](/packages/fastpress-database/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (1)

Fastpress\\Memory\\Database
===========================

[](#fastpressmemorydatabase)

This class provides a simple database abstraction layer built on top of PDO, enabling you to interact with a MySQL database. It simplifies common CRUD (Create, Read, Update, Delete) operations and lets you run raw queries if needed.

Features
--------

[](#features)

- PHP 8.0+
- PDO extension enabled
- A MySQL database

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

[](#installation)

Install via Composer:

```
composer require fastpress/memory
```

Usage Example
-------------

[](#usage-example)

```
