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 yesterday

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 57% 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

3220d 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://avatars.githubusercontent.com/u/10051300?v=4)[lmmtfy](/maintainers/lmmtfy)[@lmmtfy](https://github.com/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

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

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

PHPackages © 2026

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