PHPackages                             smaatcoda/encrypted-filesystem - 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. smaatcoda/encrypted-filesystem

ActiveLibrary

smaatcoda/encrypted-filesystem
==============================

Encrypted Filesystem allows easy file and/or stream encryption and provides integration with Laravel's Filesystem.

022[4 PRs](https://github.com/smaatcoda/encrypted-filesystem/pulls)PHP

Since Feb 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/smaatcoda/encrypted-filesystem)[ Packagist](https://packagist.org/packages/smaatcoda/encrypted-filesystem)[ RSS](/packages/smaatcoda-encrypted-filesystem/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (7)Used By (0)

Encrypted Filesystem
--------------------

[](#encrypted-filesystem)

#### About

[](#about)

**Encrypted Filesystem** enables easy encryption and decryption of the files in a Laravel Application. Encryption and decryption is done using streams, which prevents unencrypted files from ever being stored on the disk.

#### How to install

[](#how-to-install)

To install **Encrypted Filesystem** run:

`composer require smaatcoda/encrypted-filesystem`

After the package is installed, register Encrypted Filesystem Service Provider in your `app.php` config file:

```
'providers' => [

    ...

    SmaatCoda\EncryptedFilesystem\EncryptedFilesystemServiceProvider::class,
],

```

In order to start using the package you have to add a new filesystem configuration. In your `filesystems.php` add a new entry to the `disks` array which contains the following parameters:

```
'example-encrypted-disk-name' => [
    'driver' => 'encrypted-filesystem',
    'root' => storage_path('app'),
    'key' => 'example-key',
    'cipher-method' => 'aes-256-cbc',
],

```

Now you can use Laravel's `Storage` and either reference your encrypted disk explicitly:

`Storage::disk('example-encrypted-disk-name')->put('example.txt', 'Contents');`

or make your encrypted disk the default one in `filesystems.php` and simply do:

`Storage::put('example.txt', 'Contents');`

###  Health Score

18

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/152e84a5ec22e8a018afbb01c579d47ff1f4356030c1a81a6b2d3171fb16e842?d=identicon)[smaatcoda](/maintainers/smaatcoda)

---

Top Contributors

[![smaatcoda](https://avatars.githubusercontent.com/u/19351275?v=4)](https://github.com/smaatcoda "smaatcoda (30 commits)")

### Embed Badge

![Health badge](/badges/smaatcoda-encrypted-filesystem/health.svg)

```
[![Health](https://phpackages.com/badges/smaatcoda-encrypted-filesystem/health.svg)](https://phpackages.com/packages/smaatcoda-encrypted-filesystem)
```

PHPackages © 2026

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