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. [Framework](/categories/framework)
4. /
5. fastpress/database

ActiveLibrary[Framework](/categories/framework)

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

A simple database abstraction layer for PHP applications

v0.2.0(1mo ago)0361MITPHPPHP ^8.0

Since Dec 1Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (8)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)

```
