PHPackages                             anton-a46/tinyfield - 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. [Image &amp; Media](/categories/media)
4. /
5. anton-a46/tinyfield

ActiveLibrary[Image &amp; Media](/categories/media)

anton-a46/tinyfield
===================

tinyPng

0.0.3(4y ago)124MITPHPPHP &gt;=7.0.0

Since Jan 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AntonA46/tinyField)[ Packagist](https://packagist.org/packages/anton-a46/tinyfield)[ Docs](https://github.com/AntonA46)[ RSS](/packages/anton-a46-tinyfield/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

Integration TinyPng api for laravel-admin
=========================================

[](#integration-tinypng-api-for-laravel-admin)

This is a `laravel-admin` extension that integrates `TinyPng` into the `laravel-admin` form.

Compress your images when uploading with api `TinyPng`

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

[](#installation)

```
composer require anton-a46/tinyfield
```

Then

```
php artisan vendor:publish --provider=anton-a46\tinyfield\TinyFieldServiceProvider
```

Configuration
-------------

[](#configuration)

In the `env` file add TinyPng API KEY

```
TINY_PNG_KEY=XXXXXXXXXXXXXXXXXXXXX
```

Usage
-----

[](#usage)

Use it in the form:

```
$form->tinyField('content');
$form->tinyField('tinyMultipleField');
```

Support for original field methods is retained

```
$form->tinyField('content')->move('/uploader')->uniqueName();
$form->tinyField('tinyMultipleField')->thumbnail([
                'medium' => [800, null],
                'small' => [400, null]
            ])->move('/img')->uniqueName()->removable();
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

Total

3

Last Release

1622d ago

### Community

Maintainers

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

---

Top Contributors

[![AntonA46](https://avatars.githubusercontent.com/u/53582249?v=4)](https://github.com/AntonA46 "AntonA46 (5 commits)")

---

Tags

extensionlaravel-admintinypng

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/anton-a46-tinyfield/health.svg)

```
[![Health](https://phpackages.com/badges/anton-a46-tinyfield/health.svg)](https://phpackages.com/packages/anton-a46-tinyfield)
```

###  Alternatives

[laravel-admin-ext/cropper

Integrate Cropper into laravel-admin

7235.9k](/packages/laravel-admin-ext-cropper)[laravel-admin-ext/media-player

Intergrates mediaelement into laravel-admin

3255.1k](/packages/laravel-admin-ext-media-player)[laravel-admin-ext/media-manager

Media manager for laravel

135143.7k4](/packages/laravel-admin-ext-media-manager)[schmitzal/tinyimg

Image compression for all pngs and jpgs uploaded to the backend (using the tinypng API)

16131.1k](/packages/schmitzal-tinyimg)

PHPackages © 2026

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