Componette

Componette

contributte

contributte / pdf v6.1.0

๐Ÿ“ฎ PDF toolbox for Nette Framework using mPDF

download-cloud-line composer require joseki/pdf-response

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.1.x-dev master ^7.1
stable ^6.1 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.

  • v6.1.0 v6.1.0

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v6.0.2...v6.1.0

    Changes

    • support of Nette 3.1
  • v6.0.2 v6.0.2

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v6.0.1...v6.0.2

    Improvements

    • fix of compatibility with PHP 8.0
    • added PHPStan and PHPCS (ninjify/qa)
    • impoved code reported by PHPCS and PHPStan
    • updated composer dev dependencies
  • v1.0.0 v1.0.0

  • v1.1.0 v1.1.0

    Bumped! ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ

    Diff: v1.0.0...v1.1.0

    Changes:

    • add install info [3fe3998]
    • code reformated, fixed some minnor issues, updated phpDoc comments [e741304]
    • added new feature: set a background (PDF) file easily with setBackgroundTemplate() method [d813530]
    • Added save mode setter. Default save mode changed to force download [d521475]
    • composer updated [fcd96cb]
  • v1.2.0 v1.2.0

    Bumped! ๐Ÿ‘ฉโ€๐Ÿ’ผ

    Diff: v1.1.0...v1.2.0

    Changes:

  • v2.0.0 v2.0.0

    Bumped! ๐Ÿ˜ฆ

    Diff: v1.2.0...v2.0.0

    Changes:

    • Updated tips for non composer installation [7752306]
    • typos [bb9f953]
  • v3.0.0-beta v3.0.0-beta

    Bumped! ๐Ÿ‘ทโ€โ™‚๏ธ

    Diff: v3.0.0...v3.0.0-beta

    Changes:

  • v3.0.0-beta.2 v3.0.0-beta.2

    Bumped! ๐Ÿ‘ฆ

    Diff: v3.0.0-beta...v3.0.0-beta.2

    Changes:

    • refactoring: added properties with setter validations for most of fields, refactoring: removed deprecated ITemplate from nette <2.2 [71761cc]
    • readme: examples improved [af8bf15]
  • v6.0.1 v6.0.1

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v6.0.0...v6.0.1

    Changes:

    • added backward compatibility (added class aliases)
  • v6.0.0 v6.0.0

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v5.1.3...v6.0.0

    Changes:

    BC break - change namespace to Contributte

  • v5.1.3 v5.1.3

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v5.1.2...v5.1.3

    Changes:
    Improvements:

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

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v5.1.2...v5.1.3

    Changes:
    Improvements:

  • v5.1.1 v5.1.1

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v5.1...v5.1.1

    Changes:

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

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v5.0.0...v5.1

    Changes:

    • support of PHP 7.4
    • update readme
  • v5.0.0 v5.0.0

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v4.0...v5.0.0

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

    BREAKING CHANGE: minimal compatibility set to PHP v7.1

  • v4.0 v4.0

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v3.1...v4.0

    Changes:

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

    BREAKING CHANGE: minimal compatibility set to PHP v5.6

  • v3.1 v3.1

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v3.0.0...v3.1

    Changes:

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

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v2.2.3...v3.0.0

    Changes:

    • 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 v2.2.3

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v2.2.2...v2.2.3

    Changes:

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

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v2.2.1...v2.2.2

    Changes:

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

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v2.2.0...v2.2.1

    Changes:

    • 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 v2.2.0

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v2.1.1...v2.2.0

    Changes:

    • 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

    Bump! ๐Ÿ’ƒ๐Ÿป

    Diff: v2.2.0...v2.2.1

    Changes:

    • 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 v2.1.0

    Bump! ๐Ÿ’ƒ๐Ÿป

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

bar-chart-fill

Statistics

download-cloud-fill
115720
star-fill
36
bug-fill
0
flashlight-fill
38d
price-tag-2-line

Badges

guide-fill

Dependencies

php (~7.1.0 || ~7.2.0 || ~7.3.0)
mpdf/mpdf (~8.0.0)
Componette Componette felix@nette.org