PHPackages                             meema/flysystem-meema - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. meema/flysystem-meema

ActiveLibrary[File &amp; Storage](/categories/file-storage)

meema/flysystem-meema
=====================

Flysystem adapter for the Meema API

0.1.1(5y ago)4381[8 PRs](https://github.com/meemalabs/flysystem-meema/pulls)1MITPHPPHP ^7.0 || ^8.0

Since Apr 22Pushed 3y agoCompare

[ Source](https://github.com/meemalabs/flysystem-meema)[ Packagist](https://packagist.org/packages/meema/flysystem-meema)[ Docs](https://github.com/meemaio/flysystem-meema)[ RSS](/packages/meema-flysystem-meema/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (2)Dependencies (7)Versions (15)Used By (1)

 [ ![Meema for Laravel](https://raw.githubusercontent.com/meema/meemasearch-client-common/master/banners/php.png) ](https://meema.io)

#### The most simple way to integrate [Meema](https://meema.io) and your PHP/Laravel project

[](#the-most-simple-way-to-integrate-meema-and-your-phplaravel-project)

 [![Scrutinizer](https://camo.githubusercontent.com/bcb425e67ce4e78bfdb701ea965b41c71a5a6bb8ef48a7420bd3fadb2f7b36d9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d65656d616c6162732f666c7973797374656d2d6d65656d612f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/meemalabs/flysystem-meema/badges/quality-score.png?b=main) [![Total Downloads](https://camo.githubusercontent.com/55e5305cd4a35362752dbe9b39d3a4aad422ea25b2dcc36146350bbf21195f67/68747470733a2f2f706f7365722e707567782e6f72672f6d65656d612f666c7973797374656d2d6d65656d612f642f746f74616c2e737667)](https://packagist.org/packages/meema/flysystem-meema) [![Latest Version](https://camo.githubusercontent.com/7584090155f4478038b887fa46c9dac6659119216841ee0de3f8549ee85ae470/68747470733a2f2f706f7365722e707567782e6f72672f6d65656d612f666c7973797374656d2d6d65656d612f762f737461626c652e737667)](https://packagist.org/packages/meema/flysystem-meema) [![License](https://camo.githubusercontent.com/a5ae28d69c45be609e880a65fac0b978bcdacd0dbf4dfbaeb1ddd9bf7bbd199d/68747470733a2f2f706f7365722e707567782e6f72672f6d65656d612f666c7973797374656d2d6d65656d612f6c6963656e73652e737667)](https://packagist.org/packages/meema/flysystem-meema)

 [Documentation](https://docs.meema.io) • [PHP Client](https://github.com/meemalabs/meema-client-php) • [Report a bug](https://github.com/meemalabs/laravel-meema/issues) • [FAQ](https://docs.meema.io) • [Discord](https://discord.meema.io)

🐙 Installation
--------------

[](#-installation)

This package contains a [Flysystem](https://flysystem.thephpleague.com/) adapter for Meema.

You can install the package via composer:

```
composer require meema/flysystem-meema
```

💡 Usage
-------

[](#-usage)

The first thing you need to do is get an API Key at Meema.io. An API Key can easily be generated in Meema's [Dashboard](https://meema.io/) once you are logged in. For a more detailed step-by-step instructions, explore our documentation [here](https://docs.meema.io/).

```
use League\Flysystem\Filesystem;
use Meema\Client;
use Meema\FlysystemMeema\MeemaAdapter;

$client = new Client($authorizationToken);

$adapter = new MeemaAdapter($client);

$filesystem = new Filesystem($adapter);
```

For extending the storage, you have to simply put following into the boot-method of your service provider:

```
use League\Flysystem\Filesystem;
use Meema\Client as MeemaClient;
use Meema\FlysystemMeema\MeemaAdapter;

/**
 * Bootstrap any application services.
 *
 * @return void
 */
public function boot()
{
    Storage::extend('meema', function ($app, $config) {
        $client = new MeemaClient(
            $config['api_secret']
        );

        return new Filesystem(new MeemaAdapter($client));
    });
}
```

After extending the storage, you can set `meema` as the filesystem driver in your `.env`-file or in your filesystem's config file.

```
FILESYSTEM_DRIVER=meema
```

```
'disks' => [
    // ...
    'meema' => [
        'driver' => 'meema',
        'api_secret' => env('MEEMA_API_SECRET'),
    ],
]
```

Read more about custom filesystems [here](https://laravel.com/docs/8.x/filesystem#custom-filesystems).

After extending and defining the filesystem driver, you can then use Laravel's "Storage"-facade as follows:

```
use Illuminate\Support\Facades\Storage;

$storage = Storage::disk('meema');

$storage->put('photos/image.jpg', $file);
$storage->getMetadata('photos/image.jpg');
$storage->getVisibility('photos/image.jpg');
$storage->setVisibility('photos/image.jpg', 'private');
$storage->path('photos/image.jpg');
$storage->copy('photos/image.jpg', 'photos/copied-image.jpg');
$storage->rename('photos/image.jpg', 'photos/renamed-image.jpg');
```

🧪 Testing
---------

[](#-testing)

```
composer test
```

📈 Changelog
-----------

[](#-changelog)

Please see our [releases](https://github.com/meemalabs/flysystem-meema/releases) page for more information on what has changed recently.

💪🏼 Contributing
---------------

[](#-contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

🏝 Community
-----------

[](#-community)

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

[Flysystem Meema on GitHub](https://github.com/meemalabs/flysystem-meema/discussions)

For casual chit-chat with others using this package:

[Join the Meema Discord Server](https://discord.meema.io)

🚨 Security
----------

[](#-security)

Please review [our security policy](https://github.com/meemalabs/flysystem-meema/security/policy) on how to report security vulnerabilities.

🙏🏼 Credits
----------

[](#-credits)

- [Chris Breuer](https://github.com/Chris1904)
- [Folks at Meema](https://github.com/meemalabs)
- [All Contributors](../../contributors)

📄 License
---------

[](#-license)

The MIT License (MIT). Please see [LICENSE](LICENSE.md) for more information.

Made with ❤️ by Meema, Inc.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

1838d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a97b94acce2703a63911978deee2cd58935b7df44ea8513125dfef8e48f2f079?d=identicon)[Chris1904](/maintainers/Chris1904)

---

Top Contributors

[![glennmichael123](https://avatars.githubusercontent.com/u/29087513?v=4)](https://github.com/glennmichael123 "glennmichael123 (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![chrisbbreuer](https://avatars.githubusercontent.com/u/6228425?v=4)](https://github.com/chrisbbreuer "chrisbbreuer (12 commits)")[![harlekoy](https://avatars.githubusercontent.com/u/10015302?v=4)](https://github.com/harlekoy "harlekoy (2 commits)")

---

Tags

FlysystemMeemacionflysystem-meema

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/meema-flysystem-meema/health.svg)

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[masbug/flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual&lt;=&gt;display path translation

2631.7M14](/packages/masbug-flysystem-google-drive-ext)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[shitware-ltd/flysystem-msgraph

A Flysystem 3.0 adapter for Sharepoint 365 / OneDrive using Microsoft Graph API with support for uploading large files

19360.4k3](/packages/shitware-ltd-flysystem-msgraph)[jacekbarecki/flysystem-onedrive

OneDrive adapter for the flysystem filesystem abstraction library

2429.9k](/packages/jacekbarecki-flysystem-onedrive)

PHPackages © 2026

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