Statistics
396
24
1
20d
Badges
Tags
utils
Dependencies
  • php (~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0)
  • mpdf/mpdf (^8.0)

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte

Usage

To install latest version of contributte/pdf use Composer.

composer require contributte/pdf

Documentation

For details on how to use this package, check out our documentation.

Versions

State Version Branch PHP
dev 6.0.x-dev master ^7.1
stable ^6.0 master ^7.1

Development

See how to contribute to this package. This package is currently maintained by these authors.


Consider to support contributte development team. Also thank you for using this package. Thanks.

  • v6.0.0 Released version 6.0.0

    Bump! 💃🏻

    Diff: v5.1.3...v6.0.0

    Changes:

    BC break - change namespace to Contributte

  • v5.1.3 Released version 5.1.3

    Improvements:

    • improved global configuration of PDF response
    • added GitHub Actions for tests
  • v5.1.2 Released version 5.1.2

    Improvements:

  • v5.1.1 Released version 5.1.1

    • page format can now be array
    • add strict type support
  • v5.1 Released version 5.1

    • support of PHP 7.4
    • update readme
  • v5.0.0 Released version 5.0

    • updated dependency to nette v3+
    • updated dependency to mPDF v8+

    BREAKING CHANGE: minimal compatibility set to PHP v7.1

  • v4.0 Released version 4

    • mpdf 7 support
    • PHP 7.2 support
    • allowed to override mPDF showImageErrors

    BREAKING CHANGE: minimal compatibility set to PHP v5.6

  • v3.1 Released version 3.1

    • support for PHP 7.1
    • support for underscores in filenames when calling PdfResponse::save()
  • v3.0.0 3.0.0 Released

    • upgraded to mPDF v6+
    • travis: tests against php7
    • composer: required php5.4+
    • PdfResponse: introduced PdfResponse::ZOOM_* and PdfResponse::LAYOUT_* constants
    • PdfResponse refactored - added property accessors with validation for most of the fields
    • removed (deprecated) ITemplate support from Nette <2.2
  • v2.2.3 Released version 2.2.3

    • tests in travis no longer tests against hhwm
    • mPDF series 5.7.* begining with 5.7.3 (including) are not supported
  • v2.2.2 Released version 2.2.2

    • fixed incompatibility with bugged mpdf v5.7.3
    • all changes: diff
  • v2.2.1 Released version 2.2.1

    • fixed onBeforeComplete event
    • fixed setting page format, orientation and margin that had no efect when called after mPDF instance was created. These properties have to be set before getMPDF() is called, an exception is thrown otherwise.
    • tests reworked, enabled travis-ci testing
    • all changes: diff
  • v2.2.0 Released version 2.2

    • Nette 2.2.* compatible
    • added tutorial for usage with standalone Latte
    • removed inner callback createPDF
    • added several error handlers
    • new Exception classes (BC break)
    • added __toString()
    • all changes: diff
  • v2.1.1 Released version 2.1.1

    • background templates fixed (fixed bug with blocked writing to multiple pages)
    • removed example (will be path of a demo repository soon)
    • composer.json updated (package name changed to joseki/pdf-response)
  • v2.1.0 Released version 2.1.0

    Moved to Joseki, updated to Nette 2.1, reorganized, added example.

Is this addon outdated? Did you find an issue? Please report it.

Componette Componette admin@componette.com