PHPackages                             scribe/cssembed-library - 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. scribe/cssembed-library

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

scribe/cssembed-library
=======================

This is a direct fork of 'nzakas/cssembed', a project which hasn't been touched by its author for over three years. Welcome to its revival.

v0.4.6(11y ago)0879MITJava

Since Sep 25Pushed 11y ago5 watchersCompare

[ Source](https://github.com/scribenet/ScribeCssEmbedLibrary)[ Packagist](https://packagist.org/packages/scribe/cssembed-library)[ Docs](https://github.com/scribenet/ScribeCssEmbedLibrary)[ RSS](/packages/scribe-cssembed-library/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

CSSEmbed
========

[](#cssembed)

Available here, on [GitHub](https://github.com/scribenet/ScribeCssEmbedLibrary), and [Packagist](https://packagist.org/packages/scribe/cssembed-library)--and consumable by anything that understand a `composer.json` file.

So, What is It?
---------------

[](#so-what-is-it)

CSSEmbed is a small Java library used to automate embedding of data URIs within CSS files.

### Everyone Needs to Stop Forking!

[](#everyone-needs-to-stop-forking)

Yes, I can almost hear the incoherent ramblings of another open-source blogger as he slowly types out his depressing articles about the bleak future of open source--*and it's all because of forking!*

> "This recent fork of yours represents the uphill struggle of open source projects and their community.

"Why? If I may ask?"

> Todays programmers simply don't contribute to the original author's work anymore! Instead, they fork the project for their own benefit and within a short time, inevitably fall into a never-ending state of working in parallel with the original project--continually engineering the same core logic--but as two, independent groups. Simply, such behavior doesn't benefit you, the original author, or the open source community." **-Unnamed Open Source Blogger**

### Sorry, But I Just Want Dependencies To Work

[](#sorry-but-i-just-want-dependencies-to-work)

This is a direct fork of [nzakas/cssembed](https://github.com/nzakas/cssembed), a project which has not been touched by its author for over three years. It has been built and packaged per the most recent prior release, and registered with [Packagist](https://packagist.org/) so [Composer](https://getcomposer.org/) can call the dependency directly without me having to much about with horrible scripted workarounds.

As for the continued future of this project, I don't plan to contribute any new features in the near future, but ff you encounter any issues and are unable to contact the previous author, feel free to log them in [this repositories bug-tracker](https://github.com/scribenet/ScribeCssEmbedLibrary/issues)--I'll be sure to get back to you in a timely manner. Furthermore, if any new code is release [upstream](https://github.com/nzakas/cssembed) I plan to keep this repository current.

On the flip side, if you like getting your hands dirty, pull requests are graciously accepted as well.

### Well Then, Who Are You?

[](#well-then-who-are-you)

You can call me Rob--likely because that's my name. If you're the curious type, I'm sure my [GitHub handle](https://github.com/robfrawley) provides all the information you need on your way to pillaging my identity and credit (go ahead, [Google me](http://google.com/?q=rob+frawley+2nd) if you're looking for an unrewarding search).

When I am not writing long-winded and meaningless [READMEs](https://github.com/nzakas/cssembed/blob/master/README.md), I'm employed as a Software Architect for [Scribe Inc](http://scribenet.com/), a company working to further publishing services and related technologies at-pace with the continually evolving trends and growing consumption devices and ecosystems.

I contribute to a range of projects scattered in different "tubes of the Internet" but am most recently proud to share the [wide array of code](http://scribenet.github.io/) the systems team at Scribe Inc has been able to open source this past year.

Enough Already; How Do I
-------------------------

[](#enough-already-how-do-i-)

If you'd like to be able to use this binary within your [Symfony](http://symfony.com/) or other Composer-based project, it's dead simple. First, add the dependency to the `require` or `requireDev` section of your `composer.json` file:

```
{
	"require": {
        "scribe/cssembed-library": "~0.4"
	}
}
```

Lastly, and update your vendor packages:

```
php bin/composer.phar update
```

After composer has completed calculating and updating your project dependencies, a new executable will be available within your configured composer `bin` folder. For example, within a Symfony `~2.4` project, the executable is located `/at/your/project/root/bin/scribe-cssembed`.

### Assetic Filter Configuration

[](#assetic-filter-configuration)

If you use [Assetic](https://github.com/kriswallsmith/assetic) for asset management with its corresponding [AsseticBundle](https://github.com/symfony/AsseticBundle) integration within the [Symfony](https://github.com/symfony/symfony) framework, you can easily create an "asset filter" using the `cssembed` jar file.

Within your Symfony project, locate your configuration file (generally located `/at/your/project/root/app/config/config.yml`) and locate the `assetic` section. Within this section you can define filters that can be applied to any assets managed through Assetic. Here is a short snippet of the Symfony Assetic configuration to get you started:

```
assetic:
  filters:
    cssembed:
      jar: '%kernel.root_dir%/../vendor/scribe/cssembed-library/dist/cssembed.jar'
```

For detailed information on available configuration options and more usage example, visit the [Assetic](https://github.com/kriswallsmith/assetic) and [AsseticBundle](https://github.com/symfony/AsseticBundle) pages.

License
-------

[](#license)

### The MIT License (MIT)

[](#the-mit-license-mit)

**Copyright (c) 2014 Scribe Inc. ****Copyright (c) 2009 Nicholas C. Zakas.**

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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 ~0 days

Total

3

Last Release

4252d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58cf83f3ed29f210aa52fec443014572688d7c948aeac0cfdb8ccf216a3f437b?d=identicon)[robfrawley](/maintainers/robfrawley)

---

Top Contributors

[![tivac](https://avatars.githubusercontent.com/u/49545?v=4)](https://github.com/tivac "tivac (18 commits)")[![nzakas](https://avatars.githubusercontent.com/u/38546?v=4)](https://github.com/nzakas "nzakas (4 commits)")[![RoryH](https://avatars.githubusercontent.com/u/374591?v=4)](https://github.com/RoryH "RoryH (3 commits)")[![fearphage](https://avatars.githubusercontent.com/u/23887?v=4)](https://github.com/fearphage "fearphage (1 commits)")[![sripathikrishnan](https://avatars.githubusercontent.com/u/991744?v=4)](https://github.com/sripathikrishnan "sripathikrishnan (1 commits)")

---

Tags

cssblobjavaScribedataurlsembedd

### Embed Badge

![Health badge](/badges/scribe-cssembed-library/health.svg)

```
[![Health](https://phpackages.com/badges/scribe-cssembed-library/health.svg)](https://phpackages.com/packages/scribe-cssembed-library)
```

###  Alternatives

[components/flag-icon-css

A curated collection of all country flags in SVG — plus the CSS for easier integration.

12.0k1.6M23](/packages/components-flag-icon-css)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)[scssphp/scssphp

scssphp is a compiler for SCSS written in PHP.

62827.7M220](/packages/scssphp-scssphp)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

5003.6M18](/packages/mexitek-phpcolors)[wikimedia/less.php

PHP port of the LESS processor

12327.4M77](/packages/wikimedia-lessphp)[cerdic/css-tidy

CSSTidy is a CSS minifier

2092.0M6](/packages/cerdic-css-tidy)

PHPackages © 2026

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