PHPackages                             meema/meema-client-php - 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. [API Development](/categories/api)
4. /
5. meema/meema-client-php

ActiveLibrary[API Development](/categories/api)

meema/meema-client-php
======================

⚡️ A fully-featured &amp; blazing-fast PHP API client to interact with Meema. 🐑

0.1.2(5y ago)5434[4 PRs](https://github.com/meemalabs/meema-client-php/pulls)2MITPHPPHP ^7.0|^8.0

Since Apr 8Pushed 3y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (5)Versions (14)Used By (2)

 [ ![Meema for PHP](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 project

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

 [![Scrutinizer](https://camo.githubusercontent.com/a7976c79087205ca24bec05658ee7d32aaade7b44c73875b06119a90c068034d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d65656d616c6162732f6d65656d612d636c69656e742d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/meemalabs/meema-client-php/badges/quality-score.png?b=main) [![Total Downloads](https://camo.githubusercontent.com/a3b1aaaf46741ba7b9e636222cc847b8cd612d4dc580c5f973a88990acf5fffd/68747470733a2f2f706f7365722e707567782e6f72672f6d65656d612f6d65656d612d636c69656e742d7068702f642f746f74616c2e737667)](https://packagist.org/packages/meema/meema-client-php) [![Latest Version](https://camo.githubusercontent.com/aeeeb3a249bd7426a1829ecbc1ff1b10cff60e7c24ab022c0d737c92faabc8cd/68747470733a2f2f706f7365722e707567782e6f72672f6d65656d612f6d65656d612d636c69656e742d7068702f762f737461626c652e737667)](https://packagist.org/packages/meema/meema-client-php) [![License](https://camo.githubusercontent.com/6d4759ce4d6f747e76e057649fb21a831ee2e376f173b9cc7cb20fb0fc3a6380/68747470733a2f2f706f7365722e707567782e6f72672f6d65656d612f6d65656d612d636c69656e742d7068702f6c6963656e73652e737667)](https://packagist.org/packages/meema/meema-client-php)

 [Documentation](https://www.meema.com/doc/api-client/getting-started/install/php/) • [Laravel](https://github.com/meemalabs/laravel-meema) • [Report a bug](https://github.com/meemalabs/meema-client-php/issues) • [FAQ](https://docs.meema.io) • [Discord](https://discord.meema.io)

🐙 Features
----------

[](#-features)

- Most simple way to implement a fully-functional media management system
- Thin &amp; minimal package to interact with Meema's API
- Supports PHP `^7.*`

💡 Usage
-------

[](#-usage)

First, install Meema PHP API Client via the [composer](https://getcomposer.org/) package manager:

```
composer require meema/meema-client-php
```

Then, initialize the Client

```
use Meema\MeemaClient\Client

$client = new Client($meemaApiKey);
```

Using the `Media` model

```
$client->media()->create('New media name');
$client->media()->get();

// specific uuids
$client->media()->get('11a283ed-a64e-424a-aefc-6aa98971d529', '1556fcb8-693e-4431-8b16-3b2b7bb8fcc7');
$client->media()->search('media-name');

// this will return a Response instance
$media = $client->media()->find('11a283ed-a64e-424a-aefc-6aa98971d529');

// you may chain other methods that require an id
$media->update('updated-media-name')
$media->delete();
$media->archive();
$media->unarchive();
$media->makePrivate();
$media->makePublic();
$media->duplicate();

// Relationships with other models.
// Continuing with the chaining of methods we used earlier.
$media->folders()->get();
$media->folders()->create('New folder name');
$media->folders()->delete('11a283ed-a64e-424a-aefc-6aa98971d529');
$media->tags()->get();
$media->tags()->associate(['name' => 'Tag Name']);
$media->tags()->disassociate(['name' => 'Tag Name']);
```

Using the `Folder` model

```
$client->folders()->create('New folder name');
$client->folders()->get();

// specific uuids
$client->folders()->get('11a283ed-a64e-424a-aefc-6aa98971d529', '1556fcb8-693e-4431-8b16-3b2b7bb8fcc7');
$client->folders()->search('folder-name');

// this will return a Response instance
$folder = $client->folders()->find('11a283ed-a64e-424a-aefc-6aa98971d529');

// you may chain other methods that require an id
$folder->update('updated-folder-name')
$folder->delete();
$folder->archive();
$folder->unarchive();
$folder->duplicate();

// Relationships with other models.
// Continuing with the chaining of methods we used earlier.
$folder->media()->get();
$folder->tags()->get();
$folder->tags()->associate(['tag_id' => 7]);
$folder->tags()->disassociate(['tag_id' => 7]);
```

Using the `Tag` model

```
$client->tags()->get();

// Specific ids
$client->tags()->get(1, 2, 3);

// This will return a Response instance
$tag = $client->tags()->find(1);

// you may chain other methods that require an id
$tag->update('red-500'); // You will have to use tailwind CSS color palletes.
$tag->delete();
$tag->media()->get();
```

Using the `Favorite` model

```
$client->favorites()->create(['name' => 'New Favorite Name', 'icon' => 'favorite-icon']);
$client->favorites()->get();

// specific ids
$client->favorites()->get(1,2,3);

// this will return a Response instance
$favorite = $client->favorites()->find(1);

// you may chain other methods that require an id
$favorite->update(['name' => 'Updated Favorite Name', 'icon' => 'updated-favorite-icon']);
$favorite->delete();
```

Using the `Storage` model

```
$client->storage()->upload('path/to/local/media/file');
$client->storage()->getMetadata('meema/path/to/file.jpg');

$client->storage()->setVisibility('meema/path/to/file.jpg', 'private'); // Or 'public'
$client->storage()->has('meema/path/to/file.jpg');
$client->storage()->delete('meema/path/to/file.jpg');
$client->storage()->copy('meema/path/to/file.jpg', 'meema/path/to/copied-file.jpg');
$client->storage()->rename('meema/path/to/file.jpg', 'meema/path/to/renamed-file.jpg');

$client->storage()->listContents('meema/path');
$client->storage()->makeDirectory('meema/path/new-folder');
```

In order to use any of our "On-The-Fly" image &amp; video operations, read more **[here](https://docs.meema.io/on-the-fly)**

For the full documentation, visit the **[Meema PHP API Client](https://docs.meema.io/open-source/)**.

🧪 Testing
---------

[](#-testing)

```
composer test
```

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

[](#-changelog)

Please see our [releases](https://github.com/meemalabs/meema-client-php/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:

[Meema PHP on GitHub](https://github.com/meemalabs/meema-client-php/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/meema-client-php/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

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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 ~4 days

Total

3

Last Release

1835d 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 (99 commits)")[![chrisbbreuer](https://avatars.githubusercontent.com/u/6228425?v=4)](https://github.com/chrisbbreuer "chrisbbreuer (34 commits)")[![harlekoy](https://avatars.githubusercontent.com/u/10015302?v=4)](https://github.com/harlekoy "harlekoy (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")

---

Tags

image-editingmediamedia-managementmeema-apimeema-client-phpphpvideo-convertervideo-streamingapiMedia managementMeemavideo conversionsmeema-clientimage editingvideo converter

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[dariusiii/tmdb-laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the wtfzdotnet/php-tmdb-api library.

1821.1k](/packages/dariusiii-tmdb-laravel)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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