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

9.25.1(2mo ago)122.9k—0%BSD-3-ClausePHPPHP ^8.3

Since May 11Pushed 2mo 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 1mo ago

READMEChangelogDependencies (6)Versions (108)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

55

—

FairBetter than 98% of packages

Maintenance86

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity80

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 ~13 days

Total

107

Last Release

68d 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

PHP version history (5 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

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b0ca9598955b15d361ffb37656bc1a2e698e8f0850645c1c3872f0b018ac9d2?d=identicon)[aedart](/maintainers/aedart)

---

Top Contributors

[![aedart](https://avatars.githubusercontent.com/u/1523223?v=4)](https://github.com/aedart "aedart (220 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.0k21.8M191](/packages/spatie-laravel-backup)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[toponepercent/baum

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

3154.7k](/packages/toponepercent-baum)[orptech/laravel-migration-partition

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

3426.7k](/packages/orptech-laravel-migration-partition)[webparking/laravel-type-safe-collection

This package provides type-safe extension of the laravel collection, forcing a single type of object.

378.2k](/packages/webparking-laravel-type-safe-collection)

PHPackages © 2026

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