PHPackages                             brolik/async-css - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. brolik/async-css

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

brolik/async-css
================

Asynchronously load css

v1.0.7(3mo ago)0210MITPHPPHP ^8.2

Since Feb 8Pushed 3mo agoCompare

[ Source](https://github.com/Brolik/Async-Css)[ Packagist](https://packagist.org/packages/brolik/async-css)[ RSS](/packages/brolik-async-css/feed)WikiDiscussions master Synced 1w ago

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

Async Css plugin for Craft CMS 3.x
==================================

[](#async-css-plugin-for-craft-cms-3x)

Asynchronously load css

[![Screenshot](resources/img/plugin-logo.png)](resources/img/plugin-logo.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require brolik/async-css

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Async Css.

Async Css Overview
------------------

[](#async-css-overview)

Includes, and adds a version to css files for async loading with a no script fall back. Css files will only be included once per page.

Using Async Css
---------------

[](#using-async-css)

### Including a css file

[](#including-a-css-file)

`{{ craft.asyncCss.load('path/to/file', $async, $cached) }}`

#### Params

[](#params)

ParamTypeDefaultDescriptionPathString`null`The path to your css file within the web folderAsyncBoolean`true`If the file should be loaded via asyncCachedBoolean`true`Include a `?v=mtime` query string on the end of the href. Based off the files last modified time.### To Class Filter

[](#to-class-filter)

Converts a string to a css friendly class name by converting to lower case, stripping, white space, and converting to kebab case.

`{{ "some string" | toClass }}`

Brought to you by [Jassok](http://brolik.com)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance81

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity71

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

Recently: every ~339 days

Total

8

Last Release

102d ago

PHP version history (2 changes)1.0.3PHP ^7.2.5|^8.0

v1.0.7PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/40c5d9729e34da2e4eef4cf2d28514cee76c06c4b441be1971ee118f431e0f80?d=identicon)[jassok](/maintainers/jassok)

---

Top Contributors

[![jassok](https://avatars.githubusercontent.com/u/2117353?v=4)](https://github.com/jassok "jassok (14 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginasync css

### Embed Badge

![Health badge](/badges/brolik-async-css/health.svg)

```
[![Health](https://phpackages.com/badges/brolik-async-css/health.svg)](https://phpackages.com/packages/brolik-async-css)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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