PHPackages                             mecha-cms/x.lazy - 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. mecha-cms/x.lazy

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

mecha-cms/x.lazy
================

Native lazy loading for the web.

v1.1.0(3y ago)04GPL-3.0-or-laterPHP

Since Jun 11Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/mecha-cms/x.lazy)[ Packagist](https://packagist.org/packages/mecha-cms/x.lazy)[ RSS](/packages/mecha-cms-xlazy/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)Dependencies (1)Versions (2)Used By (0)

Lazy Extension for [Mecha](https://github.com/mecha-cms/mecha)
==============================================================

[](#lazy-extension-for-mecha)

[![Code Size](https://camo.githubusercontent.com/cab773fadf1dfa8e8b4d0a6e3e9f66ef697362293bd8517bc2ed01f679de059e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e6c617a793f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/cab773fadf1dfa8e8b4d0a6e3e9f66ef697362293bd8517bc2ed01f679de059e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d656368612d636d732f782e6c617a793f636f6c6f723d253233343434267374796c653d666f722d7468652d6261646765)

Starting with [Chrome 76](https://chromium.googlesource.com/chromium/src/+log/75.0.3770.67..76.0.3809.88), you’ll be able to use the new `loading` attribute to lazy-load resources without the need to write custom lazy-loading code or use a separate JavaScript library. Please note that only images that are below the device viewport by the calculated distance load lazily. All images above the viewport, regardless of whether they’re immediately visible, load normally.

This extension helps you to automatically add the `loading` attribute with the value of `lazy`.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance47

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1162d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8f3805cca9aeaeb2e2d6a3bc796f98cd9fa9e36d0a064559ffc716c8ce73f0b?d=identicon)[taufik-nurrohman](/maintainers/taufik-nurrohman)

---

Top Contributors

[![taufik-nurrohman](https://avatars.githubusercontent.com/u/1669261?v=4)](https://github.com/taufik-nurrohman "taufik-nurrohman (17 commits)")

---

Tags

extensionimagelazyloadingnative

### Embed Badge

![Health badge](/badges/mecha-cms-xlazy/health.svg)

```
[![Health](https://phpackages.com/badges/mecha-cms-xlazy/health.svg)](https://phpackages.com/packages/mecha-cms-xlazy)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[stefangabos/zebra_image

A single-file, lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters

138121.6k7](/packages/stefangabos-zebra-image)[treinetic/imageartist

ImageArtist is a php gd Wrapper which makes Image manipulation insanely easy, we introduce ImageArtist as Photoshop for php

8783.2k](/packages/treinetic-imageartist)[johncarter/filament-focal-point-picker

An image focal point picker for Filament Admin.

4431.7k1](/packages/johncarter-filament-focal-point-picker)[yk/laravel-ocr

A wrapper for gocr.

1356.6k](/packages/yk-laravel-ocr)

PHPackages © 2026

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