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 4mo 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 today

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

28

—

LowBetter than 52% of packages

Maintenance50

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

1117d 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

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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