PHPackages                             gioppy/statamic-glide-rest - 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. gioppy/statamic-glide-rest

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

gioppy/statamic-glide-rest
==========================

An addon for Statamic 4 to add glide images on assets API endpoint

v0.0.4(2y ago)0149PHP

Since Dec 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gioppy/statamic-glide-rest)[ Packagist](https://packagist.org/packages/gioppy/statamic-glide-rest)[ RSS](/packages/gioppy-statamic-glide-rest/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Statamic Glide Rest
===================

[](#statamic-glide-rest)

> Statamic Glide Rest is a Statamic addon that expose glide thumbnails on a Rest API endpoint.

How to Install
--------------

[](#how-to-install)

```
composer require gioppy/statamic-glide-rest
```

How to Use
----------

[](#how-to-use)

The plugin takes only glide presets at the moment, not inline definition of a thumbnail. Before use it, create some presets on regular config file (`config/statamic/assets.php`);

After that, call the endpoint `/glide?presets=preset1,preset2,...&id=container::path` passing the **container name**, the **path** (or name) of the image and a list of a **presets**.

The response is a normal asset response but with thumbnails node:

```
{
    "alt": "",
    "id": "demo::01.jpg",
    "title": "01.jpg",
    "path": "01.jpg",
    "filename": "01",
    "basename": "01.jpg",
    "extension": "jpg",
    "is_asset": true,
    "is_audio": false,
    "is_previewable": false,
    "is_image": true,
    "is_svg": false,
    "is_video": false,
    "blueprint": {
        "title": "Demo",
        "handle": "demo"
    },
    "edit_url": "http://localhost/cp/assets/browse/demo/01.jpg/edit",
    "container": {
        "id": "demo",
        "title": "Demo",
        "handle": "demo",
        "disk": "public",
        "blueprint": {
            "title": "Demo",
            "handle": "demo"
        },
        "search_index": null,
        "api_url": null
    },
    "folder": "/",
    "url": "http://localhost/storage/01.jpg",
    "permalink": "http://localhost/storage/01.jpg",
    "api_url": "http://localhost/api/assets/demo/01.jpg",
    "size": "71.35 KB",
    "size_bytes": 73062,
    "size_kilobytes": 71.35,
    "size_megabytes": 0.07,
    "size_gigabytes": 0,
    "size_b": 73062,
    "size_kb": 71.35,
    "size_mb": 0.07,
    "size_gb": 0,
    "last_modified": "2023-12-03T09:23:00.000000Z",
    "last_modified_timestamp": 1701595380,
    "last_modified_instance": "2023-12-03T09:23:00.000000Z",
    "focus": "50-50-1",
    "has_focus": false,
    "focus_css": "50% 50%",
    "height": 800,
    "width": 1200,
    "orientation": "landscape",
    "ratio": 1.5,
    "mime_type": "image/jpeg",
    "duration": null,
    "duration_seconds": null,
    "duration_minutes": null,
    "duration_sec": null,
    "duration_min": null,
    "playtime": "31:09",
    "thumbnails": {
        "small": "http://localhost/containers/demo/01.jpg/b7213a45700ddc51ab273d1b889dfb67.jpg",
        "medium": "http://localhost/containers/demo/01.jpg/648c933c5121599e77e74976196aedb2.jpg"
    }
}
```

### A side note

[](#a-side-note)

At the moment is not possible to register Rest endpoint on a Statamic addon, so this module must be called **without** `/api` prefix.

TODO
----

[](#todo)

- Basic integration
- Handle errors
- Inline thumb definition
- Test

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

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

Total

4

Last Release

784d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc47a128db5ee83c716a4a83478d5b506ac22615e0f9e683426a7bd46431808e?d=identicon)[gioppy](/maintainers/gioppy)

### Embed Badge

![Health badge](/badges/gioppy-statamic-glide-rest/health.svg)

```
[![Health](https://phpackages.com/badges/gioppy-statamic-glide-rest/health.svg)](https://phpackages.com/packages/gioppy-statamic-glide-rest)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[justbetter/statamic-image-optimize

Image optimization after upload

1315.2k](/packages/justbetter-statamic-image-optimize)[visuellverstehen/statamic-picturesque

A Statamic tag for building HTML-only responsive images.

1016.9k](/packages/visuellverstehen-statamic-picturesque)[daun/statamic-placeholders

Generate low-quality image placeholders for lazyloading Statamic assets

106.6k](/packages/daun-statamic-placeholders)[daun/statamic-mux

Seamless video encoding and streaming using Mux on Statamic sites

132.3k](/packages/daun-statamic-mux)[alt-design/alt-sitemap

Alt Sitemap addon, create a sitemap from Statamic entries

1219.0k](/packages/alt-design-alt-sitemap)

PHPackages © 2026

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