Download the PHP package jandc/critical-css without Composer
On this page you can find all versions of the php package jandc/critical-css. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jandc/critical-css
More information about jandc/critical-css
Files in jandc/critical-css
Download jandc/critical-css
More information about jandc/critical-css
Files in jandc/critical-css
Vendor jandc
Package critical-css
Short Description Package wrapper and twig postprocessor class which uses the 'css from html extractor' library and twigwrapper to inject a document's head with critical css
License MIT
Package critical-css
Short Description Package wrapper and twig postprocessor class which uses the 'css from html extractor' library and twigwrapper to inject a document's head with critical css
License MIT
Please rate this library. Is it a good library?
Informations about the package critical-css
Critical CSS
PHP library for generating critical CSS.
Features
- PHP only, no Node.js required.
- Automatically generated for each page
- Manual control through
{% fold %}{% endfold %}
tags - Dynamically resolves CSS used on each page
Site(s) using Critical CSS
Installation
composer require jandc/critical-css
Register the twig extension and create a wrapper instance with the critical CSS processor
Mark the regions of your templates with the provided blocks
Render your pages, using the twigwrapper
Available implementations
If you have your own implementation, please send a pull request to add it to this list.
All versions of critical-css with dependencies
PHP Build Version
Package Version
Requires
jandc/twig-wrapper Version
^0.4
jandc/css-from-html-extractor Version ^1.1
masterminds/html5 Version >2.2
doctrine/cache Version >1.6
jandc/css-from-html-extractor Version ^1.1
masterminds/html5 Version >2.2
doctrine/cache Version >1.6
The package jandc/critical-css contains the following files
Loading the files please wait ....