PHPackages                             adilab/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. adilab/css

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

adilab/css
==========

Adi CSS Tools for PHP

v1.0.0(10y ago)0631MITPHP

Since Apr 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/adilab/css)[ Packagist](https://packagist.org/packages/adilab/css)[ Docs](https://github.com/adilab/css.git)[ RSS](/packages/adilab-css/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

Adi CSS Tools for PHP
=====================

[](#adi-css-tools-for-php)

Adi CSS Tools for PHP is a very intuitive tool for prepare CSS strings directly in PHP code.

Installing
----------

[](#installing)

Preferred way to install is with [Composer](https://getcomposer.org/).

Install this library using composer:

```
$ composer require adilab/css
```

Usage:
------

[](#usage)

Usage of Css class. [Online demo.](http://adilab.net/projects/demo/css.php)

```
require('vendor/autoload.php');

use Adi\Css\Css;

$css = new Css('display: inline-block;margin-right: 10px;min-width: 150px;');
$css->set('width: 20px');
$css->set('color', '#ff0000')->set('background-color: #ccc');

echo "Hello world";
```

Documentation
-------------

[](#documentation)

[API documentacion](http://adilab.net/projects/api/namespace-Adi.Css.html)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3727d ago

Major Versions

v0.0.1 → v1.0.02016-04-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/982b5ec2eabf94b8c9220c04fa00f1553a2bf387a20e11fed2c058534da1ec86?d=identicon)[adilab](/maintainers/adilab)

### Embed Badge

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

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

###  Alternatives

[bentools/string-combinations

A simple, low-memory footprint function to generate all string combinations from a series of characters.

31203.6k](/packages/bentools-string-combinations)[tttran/viet_qr_generator

VietQR generator by following vietqr specification

1823.0k](/packages/tttran-viet-qr-generator)[cunningsoft/achievement-bundle

Provides an achievement system for Symfony2

102.3k](/packages/cunningsoft-achievement-bundle)

PHPackages © 2026

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