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.8.0(1mo ago)123.2k↑363.6%BSD-3-ClausePHPPHP ^8.4

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

READMEChangelogDependencies (24)Versions (117)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

Maintenance94

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity83

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

Total

116

Last Release

30d ago

Major Versions

6.8.1 → 7.0.02023-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.0PHP ^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 (237 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

[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

166219.6k1](/packages/cybercog-laravel-clickhouse)[laravelcm/laravel-subscriptions

Laravel Subscriptions is a flexible plans and subscription management system for Laravel, with the required tools to run your SAAS like services efficiently. It's simple architecture, accompanied by powerful underlying to afford solid platform for your business.

24364.4k4](/packages/laravelcm-laravel-subscriptions)[itpathsolutions/dbstan

Database Standardization and Analysis Tool for Laravel

442.1k](/packages/itpathsolutions-dbstan)[toponepercent/baum

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

3159.7k2](/packages/toponepercent-baum)[orptech/laravel-migration-partition

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

3628.3k](/packages/orptech-laravel-migration-partition)[calebdw/laravel-sql-entities

Manage SQL entities in Laravel with ease.

311.5k](/packages/calebdw-laravel-sql-entities)

PHPackages © 2026

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