PHPackages                             toriphes/yii2-widget-lazyload - 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. toriphes/yii2-widget-lazyload

ActiveYii2-extension[Image &amp; Media](/categories/media)

toriphes/yii2-widget-lazyload
=============================

wrapper of http://www.appelsiini.net/projects/lazyload jquery library

1.0.0(10y ago)640.1k↓27.6%4BSD-3-ClausePHP

Since Nov 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/toriphes/yii2-widget-lazyload)[ Packagist](https://packagist.org/packages/toriphes/yii2-widget-lazyload)[ RSS](/packages/toriphes-yii2-widget-lazyload/feed)WikiDiscussions master Synced 1mo ago

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

yii2-widget-lazyload
====================

[](#yii2-widget-lazyload)

[![Latest Stable Version](https://camo.githubusercontent.com/2050b83c6f65cd7e382364974bab7a1c1bebc23aad94d0d83f64407e2d9720e1/68747470733a2f2f706f7365722e707567782e6f72672f746f7269706865732f796969322d636f6e736f6c652d72756e6e65722f762f737461626c65)](https://packagist.org/packages/toriphes/yii2-widget-lazyload)[![Total Downloads](https://camo.githubusercontent.com/4413b1ff77da32546ef81b7efab80bfac9e54ee449cefe56425ea605be149241/68747470733a2f2f706f7365722e707567782e6f72672f746f7269706865732f796969322d7769646765742d6c617a796c6f61642f646f776e6c6f616473)](https://packagist.org/packages/toriphes/yii2-widget-lazyload)[![Latest Unstable Version](https://camo.githubusercontent.com/cdc9b58ba286265f5abd9d112518cc964ccb53e2cf78cc11ed31e52b0bd40925/68747470733a2f2f706f7365722e707567782e6f72672f746f7269706865732f796969322d7769646765742d6c617a796c6f61642f762f756e737461626c65)](https://packagist.org/packages/toriphes/yii2-widget-lazyload)[![License](https://camo.githubusercontent.com/ff95bb75dffdae07d2e0b801f0b7498ee9e978059dc3acecd22fae7829412cd5/68747470733a2f2f706f7365722e707567782e6f72672f746f7269706865732f796969322d7769646765742d6c617a796c6f61642f6c6963656e7365)](https://packagist.org/packages/toriphes/yii2-widget-lazyload)

Wrapper of [lazy loading](http://www.appelsiini.net/projects/lazyload) jquery library.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist toriphes/yii2-widget-lazyload "*"

```

or add

```
"toriphes/yii2-widget-lazyload": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
use toriphes\lazyload\LazyLoad;

echo LazyLoad::widget(['src' => 'url/to/your/image.jpg']);

//enable fallback for non JavaScript user
echo LazyLoad::widget(['src' => 'url/to/your/image.jpg', 'fallback' => true]);
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3828d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4192159?v=4)[Giulio Ganci](/maintainers/toriphes)[@toriphes](https://github.com/toriphes)

---

Top Contributors

[![toriphes](https://avatars.githubusercontent.com/u/4192159?v=4)](https://github.com/toriphes "toriphes (1 commits)")

---

Tags

imageyii2extensionwidgetlazyload

### Embed Badge

![Health badge](/badges/toriphes-yii2-widget-lazyload/health.svg)

```
[![Health](https://phpackages.com/badges/toriphes-yii2-widget-lazyload/health.svg)](https://phpackages.com/packages/toriphes-yii2-widget-lazyload)
```

###  Alternatives

[yurkinx/yii2-image

Yii2 extension for image manipulating using Kohana Image Library.

66412.9k9](/packages/yurkinx-yii2-image)[raoul2000/yii2-jcrop-widget

This extension is a wrapper for the jQuery Image Cropping Plugin (jcrop)

10248.3k2](/packages/raoul2000-yii2-jcrop-widget)[bilginnet/yii2-cropper

Yii2 Bootstrap Cropper Input Widget

2232.1k](/packages/bilginnet-yii2-cropper)[noam148/yii2-image-resize

A Yii2 component for resizing images (on the fly)

1144.6k7](/packages/noam148-yii2-image-resize)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)

PHPackages © 2026

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