PHPackages                             yingfan/m3o-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. yingfan/m3o-php

ActiveLibrary[API Development](/categories/api)

yingfan/m3o-php
===============

M3O client for PHP

v0.0.6(4y ago)14[1 issues](https://github.com/cyingfan/m3o-php/issues)[2 PRs](https://github.com/cyingfan/m3o-php/pulls)MITPHPPHP &gt;=7.4.0|&gt;=8.0.0

Since Jun 26Pushed 3y ago2 watchersCompare

[ Source](https://github.com/cyingfan/m3o-php)[ Packagist](https://packagist.org/packages/yingfan/m3o-php)[ RSS](/packages/yingfan-m3o-php/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (3)Versions (9)Used By (0)

m3o-php
=======

[](#m3o-php)

M3O Client for PHP

[![Github Build](https://github.com/cyingfan/m3o-php/actions/workflows/php.yml/badge.svg)](https://github.com/cyingfan/m3o-php/actions/workflows/php.yml/badge.svg)

Installation
------------

[](#installation)

`composer require cyingfan/m3o-php`

Set up
------

[](#set-up)

1. Run `composer require cyingfan/m3o-php` to include the package.
2. Obtain your API key from [Micro Settings page](https://www.m3o.com/settings/keys)
3. Load your API key into environment variable `M3O_AUTH_TOKEN`. `m3o-php` loads environment variables using `getenv()`. Most environment variable libraries such as [Symfony Dotenv](https://github.com/symfony/dotenv) or [PHP dotenv](https://github.com/vlucas/phpdotenv) should work.

Usage example
-------------

[](#usage-example)

```
use M3O\Factory;

$m3o = (new Factory())->getM3O();
echo $m3o->getHelloworldService()->call('John Doe'), "\n";
```

Service completion status
-------------------------

[](#service-completion-status)

- [answer](https://m3o.com/answer)
- [cache](https://m3o.com/cache)
- [crypto](https://m3o.com/crypto)
- [currency](https://m3o.com/currency)
- [db](https://m3o.com/db)
- [email](https://m3o.com/email)
- [emoji](https://m3o.com/emoji)
- [file](https://m3o.com/file)
- [forex](https://m3o.com/forex)
- [geocoding](https://m3o.com/geocoding)
- [helloword](https://m3o.com/helloword)
- [id](https://m3o.com/id)
- [image](https://m3o.com/image)
- [ip](https://m3o.com/ip)
- [location](https://m3o.com/location)
- [otp](https://m3o.com/otp)
- [routing](https://m3o.com/routing)
- [rss](https://m3o.com/rss)
- [sentiment](https://m3o.com/sentiment)
- [sms](https://m3o.com/sms)
- [stock](https://m3o.com/stock)
- [thumbnail](https://m3o.com/thumbnail)
- [time](https://m3o.com/time)
- [url](https://m3o.com/url)
- [user](https://m3o.com/user)
- [weather](https://m3o.com/weather)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

6

Last Release

1817d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/221381?v=4)[Ingvar Tunell](/maintainers/yingfan)[@YingFan](https://github.com/YingFan)

---

Top Contributors

[![cyingfan](https://avatars.githubusercontent.com/u/10404961?v=4)](https://github.com/cyingfan "cyingfan (10 commits)")

---

Tags

apiM3O

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yingfan-m3o-php/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

617.2M43](/packages/resend-resend-php)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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