PHPackages                             waughj/html-stylesheet - 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. [Templating &amp; Views](/categories/templating)
4. /
5. waughj/html-stylesheet

ActiveLibrary[Templating &amp; Views](/categories/templating)

waughj/html-stylesheet
======================

Simple class for easy generation o' stylesheets.

0.1.0(7y ago)04GPL-2.0-or-laterPHPPHP &gt;=7.0

Since Nov 30Pushed 7y agoCompare

[ Source](https://github.com/waughjai/html-stylesheet)[ Packagist](https://packagist.org/packages/waughj/html-stylesheet)[ RSS](/packages/waughj-html-stylesheet/feed)WikiDiscussions master Synced 3d ago

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

HTML Stylesheets
================

[](#html-stylesheets)

Simple class for easy generation o' stylesheets.

Use
---

[](#use)

Just call constructor with 1st argument a string representing the URL, &amp; 2 optional arguments for a file loader &amp; an array o' extra attributes to add to the HTML tag.

Example
-------

[](#example)

```
WaughJ\HTMLStylesheet\HTMLStylesheet;

new HTMLStylesheet
(
	'main',
	new FileLoader([ 'directory-url' => 'https://www.example.com/css' ]),
	[ 'media' => 'print' ]
);

```

Will output:

```

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

2722d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11161078?v=4)[waughj](/maintainers/waughj)[@waughj](https://github.com/waughj)

---

Tags

composertemplate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waughj-html-stylesheet/health.svg)

```
[![Health](https://phpackages.com/badges/waughj-html-stylesheet/health.svg)](https://phpackages.com/packages/waughj-html-stylesheet)
```

PHPackages © 2026

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