Search by

realrashid / raast-qr

Generate P2P Raast payment payloads and ready-to-display QR codes from Pakistani IBANs, right inside Laravel. Fluent builder, Blade component, validation rule and Artisan command included. No network calls, nothing stored.

v1.0.0 2026-09-05 21:15 UTC

This package is auto-updated.

Last update: 2026-09-05 21:46:53 UTC


README

Raast QR

Raast QR is your definitive guide to Generating Raast Payment QR Codes in Laravel. With a fluent, expressive API built for Pakistani IBANs, Raast QR turns manual bank transfers into a single scan.

Across Pakistan, countless stores still show a customer an IBAN and an amount, then ask them to type both into their banking app. Every character is a chance to get it wrong. That's where Raast QR comes in. We've fine-tuned the process, giving you a complete solution for everything QR-related — the account and the amount arrive pre-filled, and nothing ever leaves your server.

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Quick Look

use RealRashid\RaastQr\Facades\RaastQr;

RaastQr::iban('PK33ABCD0000000000000000')
    ->amount('2500')
    ->toDataUrl();
<x-raast-qr :amount="$order->total" size="320" />

Demo Application

Khokha is a Laravel app showing dynamic invoice codes, a printable static counter card, and a builder with real IBAN validation. It lives in its own repository:

git clone https://github.com/realrashid/khokha.git
cd khokha
composer install
cp .env.example .env
php artisan key:generate
php artisan serve

Khokha

Documentation

Ready to explore all the features and options Raast QR offers? Dive into our comprehensive documentation:

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover a security vulnerability in Raast QR, please help us maintain the security of this project by responsibly disclosing it to us. To report a security vulnerability, please send an email to realrashid05@gmail.com. We'll address the issue as promptly as possible.

Disclaimer

Raast QR is an independent open-source package. It is not affiliated with, authorized by, or endorsed by the State Bank of Pakistan or Raast Payments Pakistan. It generates person-to-person QR codes only, and never touches, confirms, or reverses a payment.

Credits

Support My Work

If you find Raast QR helpful and would like to support my work, you can buy me a coffee. Your support will help keep this project alive and thriving. It's a small token of appreciation that goes a long way.

Buy me a coffee

License

The MIT License (MIT). Please see License File for more information.


Made with ❤️ from Pakistan