brianzaballa / check-printing
Laravel package for generating printable bank checks as PDFs.
v1.0.1
2026-11-01 14:49 UTC
Requires
- php: ^8.2
- dompdf/dompdf: ^2.0|^3.0
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
- illuminate/view: ^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0|^10.0|^11.0
- phpunit/phpunit: ^10.0|^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-01 14:53:36 UTC
README
Laravel package that renders printable bank checks (payee, amount, amount in words, MICR line) as PDFs.
Install
composer require brianzaballa/check-printing
php artisan vendor:publish --tag=check-printing-config
php artisan vendor:publish --tag=check-printing-views # optional, to customize layout
Set CHECK_PAYER_NAME, CHECK_PAYER_ADDRESS, CHECK_BANK_NAME, CHECK_ROUTING_NUMBER, CHECK_ACCOUNT_NUMBER in .env.
Usage
use BrianZaballa\CheckPrinting\Check; use BrianZaballa\CheckPrinting\Facades\CheckPrinting; $check = new Check('Jane Doe', '1234.50', '1001', now(), 'Invoice 42'); return response(CheckPrinting::pdf($check), 200, ['Content-Type' => 'application/pdf']); CheckPrinting::save($check, storage_path('check-1001.pdf'));
Amounts are decimal strings to avoid float errors. Align the layout to your check stock by editing the published view. The MICR line uses plain letters (C = on-us, A = transit symbol); use a MICR E-13B font in the published view for real stock.