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

ActiveLibrary[API Development](/categories/api)

lmmtfy/lmmtfy-php
=================

Lmmtfy API client

1.0.0(8y ago)21.4kMITPHPPHP &gt;=7.0

Since Dec 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lmmtfy/lmmtfy-php)[ Packagist](https://packagist.org/packages/lmmtfy/lmmtfy-php)[ Docs](https://lmmtfy.io/)[ RSS](/packages/lmmtfy-lmmtfy-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Lmmtfy-PHP
==========

[](#lmmtfy-php)

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

[](#installation)

Make sure you have [Composer](https://getcomposer.org/) installed and add lmmtfy-php as a dependency.

```
# Add lmmtfy-php as a dependency
composer require lmmtfy/lmmtfy-php
```

Next, require Composer's autoloader, in your application, to automatically load the Lmmtfy client in your project:

```
require 'vendor/autoload.php';
```

Usage
-----

[](#usage)

### API client

[](#api-client)

```
// Start by initializing the API client
$lmmtfy = new Lmmtfy\Lmmtfy();

// After that you can minify a string
$minified = $lmmtfy->css('body { color: #ff0000; }')->toString();

// Or the contents of a file
$minified = $lmmtfy->css(fopen('test.css', 'r'))->toString();

// And write the result directly to a file
$lmmtfy->css(fopen('test.css', 'r'))->saveTo('test.min.css');
```

Todo
----

[](#todo)

- Add tests
- Improve documentation and this readme

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~628 days

Total

2

Last Release

3168d ago

Major Versions

0.0.1 → 1.0.02017-09-08

PHP version history (2 changes)0.0.1PHP &gt;=5.4

1.0.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bbbf218857273337443c1d9720b70176493cbbbf67500b4251362c20658fbde?d=identicon)[lmmtfy](/maintainers/lmmtfy)

---

Top Contributors

[![chulsupark](https://avatars.githubusercontent.com/u/1040144?v=4)](https://github.com/chulsupark "chulsupark (2 commits)")[![CheatCodes](https://avatars.githubusercontent.com/u/4729881?v=4)](https://github.com/CheatCodes "CheatCodes (1 commits)")

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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