peterfox/php-inliner

This package is abandoned and no longer maintained. No replacement package was suggested.

Command line tool for in-lining CSS with HTML

dev-master / 1.0.x-dev 2015-12-03 12:15 UTC

This package is not auto-updated.

Last update: 2018-06-27 18:59:19 UTC


README

This project provides a simple command line tool for in-lining HTML documents with CSS.

Install

Use composer to add the application to your project.

composer require --dev peterfox/php-inliner

Usage

The command works as follows:

php-inliner inline [-css|--css-file CSS-FILE] [-o|--output-file OUTPUT-FILE] [--] <html-file>

The only required argument is html-file. The application will look for any linked stylesheets referenced in the document as well as in-lining and style blocks.

You can also specify if you want to use an external css file or provide a different file to output to.