Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mpdf Bundle Laravel Package

bideogemu/mpdf-bundle

View on GitHub
Deep Wiki
Context7
3.0.1

What's Changed

Patch release that completes the Symfony 8 support introduced in 3.0.

🐛 Fixed

  • Require mPDF ^8.2.5, the first release supporting PHP 8.4 — which is required by Symfony 8. The 3.0 constraint (mpdf ^8.2.1) allowed versions that don't support PHP 8.4.

Notes (carried over from 3.0)

  • Symfony 8 support — installs on both Symfony 7 and 8 (^7.0 || ^8.0). (#1)
  • Bundle migrated to AbstractBundle; separate Extension class removed. (#1)
  • Service config converted from YAML to PHP in config/services.php. (#2)
  • MpdfFactory is now a private service (autowire/autoconfigure dropped); controller type-hint injection keeps working. (#3)
  • Symfony 8 requires PHP 8.4+; the package php constraint stays at >=8.2 so Symfony 7 users are unaffected.

Full Changelog: https://github.com/BideoGemu/mpdf-bundle/compare/2.7...3.0.1

2.7

Changelog Summary for Symfony 7 Compatibility

  • Updated dependencies: Required PHP 8.2+, Symfony components config, dependency-injection, and http-kernel updated to version 7.x.

  • Namespace and class naming adjusted to align with Symfony 7 standards.

  • Dependency Injection updated:

    • Added proper service configuration with typed arguments.
    • Introduced configuration tree (Configuration.php) for bundle options.
    • Passed default options via service container parameters.
  • Factory improvements:

    • Modified MpdfFactory constructor to accept injected parameters ($cacheDir and $defaultOptions).
    • Merged default configuration options with runtime options when creating \Mpdf\Mpdf instances.
  • Services.yaml:

    • Enabled autowiring and autoconfiguration.
    • Defined explicit arguments with parameter injection.
  • Bundle registration:

    • Updated bundles.php for proper bundle loading in Symfony 7.
  • General modernizations:

    • Ensured compatibility with Symfony 7 best practices for configuration, service wiring, and bundle structure.

Full Changelog: https://github.com/BideoGemu/mpdf-bundle/compare/2.2...v7

2.2

Add Pdf creation file for Symfony V6.4

Full Changelog: https://github.com/BideoGemu/mpdf-bundle/compare/2.1...2.2

2.1

Update for SF6.4

2.0.2
2.0.1
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
croct/coding-standard
croct/plug-php
nqxcode/phpmorphy
boundwize/pyrameter
develia/commons
dmstr/symfony-system-resources-bundle
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
renatomarinho/laravel-page-speed
develia/geo-bundle
austinheap/laravel-database-encryption
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard
visualbuilder/filament-lottie
servicioslineaonce/starter-kit
atomcoder/laravel-reorderable
irajul/filament-shadcn-theme
agtp/agtp-php