PHPackages                             fritzmg/contao-lazy-load-element - 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. fritzmg/contao-lazy-load-element

ActiveContao-bundle

fritzmg/contao-lazy-load-element
================================

Contao extension to allow lazy loading of content elements or modules.

1.0.1(2y ago)4373↓100%1[1 issues](https://github.com/fritzmg/contao-lazy-load-element/issues)LGPL-3.0-or-laterPHPPHP &gt;=7.4

Since Jan 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fritzmg/contao-lazy-load-element)[ Packagist](https://packagist.org/packages/fritzmg/contao-lazy-load-element)[ Docs](http://www.inspiredminds.at)[ GitHub Sponsors](https://github.com/sponsors/fritzmg)[ RSS](/packages/fritzmg-contao-lazy-load-element/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

[![](https://camo.githubusercontent.com/85de73fa4aca3a92610a8e38bad7f70862657c48b5919c7b888d71386758eaa6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269747a6d672f636f6e74616f2d6c617a792d6c6f61642d656c656d656e742e737667)](https://packagist.org/packages/fritzmg/contao-lazy-load-element)[![](https://camo.githubusercontent.com/7bbfe437eb02b958e6dcba67cc443deeea8d4bca897b6e162b7cf883657756cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667269747a6d672f636f6e74616f2d6c617a792d6c6f61642d656c656d656e742e737667)](https://packagist.org/packages/fritzmg/contao-lazy-load-element)

Contao Lazy Load Element
========================

[](#contao-lazy-load-element)

Contao extension to allow lazy loading of content elements or modules.

When installed, this extension provides an additional content element where you can define another content element or module to be lazy loaded on page load. You also have the possibility to let the element reload periodically, once it has been loaded for the first time. And you are able to define, whether the element should only load once it is in the viewport.

To enable this functionality you must enable **jQuery** in the page layout.

When an element gets loaded or reloaded, either the event `lazyload` or `lazyload-reload` will be triggered on that element. This way you can execute your own JavaScript, once an element got loaded (for example to initialize other scripts on the loaded content).

```
$('#myLazyLoadElement').on('lazyload', function(event)
{
	// …
});
```

There is also a stylesheet included by default that shows an AJAX loader circle while the element is being loaded or reloaded. To remove it completely you can use this style:

```
.ce_lazyload:before,
.ce_lazyload:after,
.mod_lazyload:before,
.mod_lazyload:after {
	display: none;
}
```

Or simply change the styles to your liking. Have a look at the default styles in `assets/lazyload.scss`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

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

Every ~381 days

Recently: every ~666 days

Total

8

Last Release

737d ago

Major Versions

0.3.1 → 1.0.02017-02-14

PHP version history (2 changes)0.1.0PHP &gt;=5.4

1.0.1PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/25f6ec05570f72d0fcc4d0a4fef2309799d53badf8b30484284e73724661e0d8?d=identicon)[fritzmg](/maintainers/fritzmg)

---

Top Contributors

[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (18 commits)")

---

Tags

contentmodulecontaolazyloadelement

### Embed Badge

![Health badge](/badges/fritzmg-contao-lazy-load-element/health.svg)

```
[![Health](https://phpackages.com/badges/fritzmg-contao-lazy-load-element/health.svg)](https://phpackages.com/packages/fritzmg-contao-lazy-load-element)
```

###  Alternatives

[terminal42/contao-node

Node bundle for Contao Open Source CMS

3172.5k4](/packages/terminal42-contao-node)

PHPackages © 2026

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