PHPackages                             goetas/fo-simil-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. goetas/fo-simil-css

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

goetas/fo-simil-css
===================

v0.2.1(6y ago)115.1k↓20.8%MITPHP

Since Dec 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/goetas/fo-simil-css)[ Packagist](https://packagist.org/packages/goetas/fo-simil-css)[ RSS](/packages/goetas-fo-simil-css/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

fo-simil-css
============

[](#fo-simil-css)

============

### Install

[](#install)

```

composer require goetas/fo-simil-css

```

Simil CSS for XSL FO. Uses XPath instead of CSS selectors.

### CSS Stylesheet example

[](#css-stylesheet-example)

```
$xml = new DOMDocument("1.0", "UTF-8");
$xml->load("file.fo");

$css = new FoSimilCss();
$css->applyCss($xml, "style.css");
```

```
@namespace fo "http://www.w3.org/1999/XSL/Format";

/* element selector */
fo|block {
    border: solid 0.5pt black;
}
/* @id selector */
#user {
    width: 100%;
}
/* @role selector */
.user {
    width: 100%;
}
```

It supports all selector types supported by *Symfony\\CssSelector*

### XML Stylesheet example

[](#xml-stylesheet-example)

```
$xml = new DOMDocument("1.0", "UTF-8");
$xml->load("file.fo");

$css = new FoSimilCss();
$css->applyXmlCss($xml, "style.xml");
```

```

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.7% 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 ~244 days

Total

5

Last Release

2503d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/776743?v=4)[Asmir Mustafic](/maintainers/goetas)[@goetas](https://github.com/goetas)

---

Top Contributors

[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (22 commits)")[![riccardonar](https://avatars.githubusercontent.com/u/5285820?v=4)](https://github.com/riccardonar "riccardonar (1 commits)")

### Embed Badge

![Health badge](/badges/goetas-fo-simil-css/health.svg)

```
[![Health](https://phpackages.com/badges/goetas-fo-simil-css/health.svg)](https://phpackages.com/packages/goetas-fo-simil-css)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[spatie/laravel-pjax

A pjax middleware for Laravel 5

523386.8k11](/packages/spatie-laravel-pjax)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[dominikb/composer-license-checker

Utility to check for licenses of dependencies and block/allow them.

574.6M14](/packages/dominikb-composer-license-checker)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M343](/packages/drupal-core-dev)

PHPackages © 2026

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