PHPackages                             adexos/magento2-csspreload - 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. adexos/magento2-csspreload

ActiveMagento2-module

adexos/magento2-csspreload
==========================

Magento 2 module that allows loading of stylesheets with the preload attribute

1.2.3(7y ago)02.9kMITJavaScript

Since Feb 28Pushed 7y ago2 watchersCompare

[ Source](https://github.com/adexos/magento2-csspreload)[ Packagist](https://packagist.org/packages/adexos/magento2-csspreload)[ RSS](/packages/adexos-magento2-csspreload/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Magento 2 CSS Preload
=====================

[](#magento-2-css-preload)

Simple module that allows for asynchronous CSS loading in Magento 2

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

[](#installation)

1. Go to your Magento root directory
2. Run `composer require meanbee/magento2-csspreload`

Development
-----------

[](#development)

### Setting up a development environment

[](#setting-up-a-development-environment)

A Docker development environment is included with the project:

```
docker-compose run --rm cli magento-extension-installer Meanbee_CSSPreload
docker-compose up -d

```

Usage
-----

[](#usage)

To add assets to the block, provide the `assets` argument:

```

                css/filename.css

                    attribute
                    value

```

To modify the template of the generated `` tags, provide a `link_template` argument, e.g.:

```

        ]]>

```

There are two variables that will be substituted: `:path:`, which will be replaced by the asset path, and `:attributes:` that will contain your `attributes` of your `assets` as HTML attributes.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~119 days

Total

6

Last Release

2605d ago

### Community

Maintainers

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

---

Top Contributors

[![adaudenthun](https://avatars.githubusercontent.com/u/15668948?v=4)](https://github.com/adaudenthun "adaudenthun (8 commits)")[![punkstar](https://avatars.githubusercontent.com/u/179072?v=4)](https://github.com/punkstar "punkstar (6 commits)")[![tgerulaitis](https://avatars.githubusercontent.com/u/613076?v=4)](https://github.com/tgerulaitis "tgerulaitis (3 commits)")

### Embed Badge

![Health badge](/badges/adexos-magento2-csspreload/health.svg)

```
[![Health](https://phpackages.com/badges/adexos-magento2-csspreload/health.svg)](https://phpackages.com/packages/adexos-magento2-csspreload)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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