Latest updates and news

leader() support with v0.12.1

7 October 2020

Now supporting content: leader(...) which is quite a nice feature for generating table of contents (TOC) pages. See our demo.

Version 0.12.0 is out

2 October 2020

A new release is out. It fixes many issues and a lot of refactoring of the code has been done, so while there aren’t many new features, it works better than ever. More...

Grid layout with version 0.11.0

9 September 2020

We have been quiet last month, but we have been working hard and are happy to release the first version that supports grid layouts.

This version also comes with basic support for @media rules. More...

Released version 0.10.0

24 July 2020

This release fixes a few layout and performance issues and also adds support for some basic form fields. More... is ready for laravel 7

20 July 2020

Looking for an easy way to produce PDFs in your Laravel application? We have the solution you need. We have just released a simple Laravel7 wrapper. More here.

<?php Route::get('/invoice/print', function () { $invoice = new stdClass(); return typesetsh\pdf('invoice', ['invoice' => $invoice]); }); See more on github

Released version 0.9.0

19 July 2020

This release fixes minor issues, but there is one change that could potential break any implementation that uses the typesetsh\Pdf\Renderer class.

With this release, it’s now easier to parse many documents at once and render them all to one pdf.

Ready for PHP8

16 July 2020

We added PHP8 to our build pipeline and are happy to say that all tests ran without a single failure.
The only minor issue we had was that PHP7 did not have a stable sort. Which caused some tests to fail at first.

Generating PDFs with HTML and CSS

7 July 2020

Here is a quick introduction for web developers on using HTML and CSS to generate PDFs.
It touches upon a few issues specific to print media and how CSS can solve them. Read...

Released version 0.8.1

7 July 2020

A minor release fixing some simple issues that should not cause any breakages. More...

Released version 0.8

1 July 2020

We are happy to announce that version 0.8. now supports (repeating-)?(linear|radial)-gradient() image functions as wall as orphans and widows CSS properties.

Released version 0.7

17 June 2020

Version 0.7 is out. Adds nth-of-type CSS selector. More...

Released version 0.6

11 May 2020

Just released v0.6. No new features, but fixes a bunch of text layout issues. Hope you still enjoy it. More...

Released version 0.5

17 April 2020

Version 0.5 now supports the CSS flex layout model! More...

Released version 0.1.0

17 October 2019

Our first public stable release.

First commit - 26d63d54

16 July 2016

This project seems quite new, but the first code commit was actually done in the summer of 2016. A lot has happened since then!