PHPackages                             aedart/athenaeum-flysystem-db - 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. aedart/athenaeum-flysystem-db

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

aedart/athenaeum-flysystem-db
=============================

Flysystem Database Adapter

10.15.0(2w ago)123.4k↑235%BSD-3-ClausePHPPHP ^8.4

Since May 11Pushed 2w ago1 watchersCompare

[ Source](https://github.com/aedart/athenaeum-flysystem-db)[ Packagist](https://packagist.org/packages/aedart/athenaeum-flysystem-db)[ Docs](https://aedart.github.io/athenaeum/)[ RSS](/packages/aedart-athenaeum-flysystem-db/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (42)Versions (124)Used By (0)

Athenaeum Flysystem Database Adapter
====================================

[](#athenaeum-flysystem-database-adapter)

A [Flysystem](https://flysystem.thephpleague.com/docs/) adapter that store files and directories in your database.

Supported Databases
-------------------

[](#supported-databases)

Behind the scene, [Laravel's Database package](https://packagist.org/packages/illuminate/database) is used to execute queries, which grants support for the following databases:

- MariaDB
- MySQL
- PostgreSQL
- SQLite
- SQL Server

```
use Aedart\Flysystem\Db\Adapters\DatabaseAdapter;
use Illuminate\Database\Capsule\Manager as Capsule;
use League\Flysystem\Filesystem;

// Establish database connection
$capsule = new Capsule;
$capsule->addConnection([
    'driver' => 'mysql',
    'host' => 'localhost',
    'database' => 'database',
    'username' => 'root',
    'password' => 'password',
    'charset' => 'utf8',
    'collation' => 'utf8_unicode_ci',
    'prefix' => '',
]);

$connection = $capsule->getConnection();

// Create Database Adapter instance
$adapter = new DatabaseAdapter(
    filesTable: 'files',
    contentsTable: 'files_contents',
    connection: $connection
);

// Finally, create filesystem instance
$filesystem = new Filesystem($adapter);
```

**Note**: *If you wish to use this adapter within your Laravel Application, then you can choose register this package's Service Provider. See official documentation for more information.*

Data Deduplication
------------------

[](#data-deduplication)

The adapter makes use of [Data Deduplication](https://en.wikipedia.org/wiki/Data_deduplication) technique, which means that files that have the exact same content are only stored once.

Documentation
-------------

[](#documentation)

Please read the [official documentation](https://aedart.github.io/athenaeum/) for additional information.

Repository
----------

[](#repository)

The mono repository is located at [github.com/aedart/athenaeum](https://github.com/aedart/athenaeum)

Versioning
----------

[](#versioning)

This package follows [Semantic Versioning 2.0.0](http://semver.org/)

License
-------

[](#license)

[BSD-3-Clause](http://spdx.org/licenses/BSD-3-Clause), Read the LICENSE file included in this package

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance96

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Recently: every ~5 days

Total

123

Last Release

18d ago

Major Versions

6.8.1 → 7.0.0-alpha.12023-02-16

7.33.0 → 8.0.02024-03-18

8.22.0 → 9.0.02025-03-04

9.25.1 → 10.0.02026-03-30

PHP version history (6 changes)6.2.0PHP ^8.0.2

7.0.0-alpha.1PHP ^8.1

7.21.0PHP ^8.1.22

8.0.0PHP ^8.2

9.0.0PHP ^8.3

10.0.0PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1523223?v=4)[Alin Eugen Deac](/maintainers/aedart)[@aedart](https://github.com/aedart)

---

Top Contributors

[![aedart](https://avatars.githubusercontent.com/u/1523223?v=4)](https://github.com/aedart "aedart (251 commits)")

---

Tags

FlysystemlaraveldatabaseadapterAthenaeum

### Embed Badge

![Health badge](/badges/aedart-athenaeum-flysystem-db/health.svg)

```
[![Health](https://phpackages.com/badges/aedart-athenaeum-flysystem-db/health.svg)](https://phpackages.com/packages/aedart-athenaeum-flysystem-db)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k25.4M269](/packages/spatie-laravel-backup)[spatie/laravel-medialibrary

Associate files with Eloquent models

6.2k45.4M693](/packages/spatie-laravel-medialibrary)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M146](/packages/roots-acorn)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3265.4k5](/packages/toponepercent-baum)[itpathsolutions/dbstan

Database Standardization and Analysis Tool for Laravel

503.4k](/packages/itpathsolutions-dbstan)[orptech/laravel-migration-partition

Laravel extensions that extends Illuminate to enable partitioned table creation within Laravel migrations.

3830.1k](/packages/orptech-laravel-migration-partition)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
