Download the PHP package fadhila36/laravel-multipayment without Composer

On this page you can find all versions of the php package fadhila36/laravel-multipayment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-multipayment

Laravel Multipayment Package

Latest Version on Packagist Tests Total Downloads

English Documentation 🇺🇸


Dokumentasi Bahasa Indonesia 🇮🇩

Package Laravel yang lengkap dan siap produksi untuk integrasi multi-payment gateway (Midtrans, Xendit, Duitku, AyoConnect, Doku) serta notifikasi Fonnte (WhatsApp).

Kompatibilitas: Mendukung penuh Laravel 10, 11, dan 12.x. Optimasi AI: Struktur kode bersih dan modular, sangat mudah dipahami oleh AI Agent seperti Antigravity. Pemula? Baca Panduan Langkah-demi-Langkah (Tutorial) untuk integrasi dalam 5 menit.

Fitur Utama

Instalasi

  1. Install via composer:

  2. Publish konfigurasi:

Konfigurasi & Environment

Atur file .env Anda.

Panduan Development vs Production

Fitur Development (Lokal) Production (Live)
Mode Gateway Set IS_PRODUCTION=false di .env untuk menggunakan Sandbox/Testing environment. Set IS_PRODUCTION=true. Pastikan menggunakan Production Key dari dashboard gateway.
Queue (Antrian) Gunakan QUEUE_CONNECTION=sync agar notifikasi langsung terkirim saat dev. Gunakan redis atau database. Wajib jalankan worker (lihat bawah).
Worker Tidak wajib. Wajib jalankan php artisan queue:work agar email & WA terkirim di background.
Keamanan - Pastikan XENDIT_CALLBACK_TOKEN dan Signature Key dirahasiakan.

Cara Penggunaan

1. Membuat Pembayaran

Gunakan Facade di Controller Anda. Syntax sama untuk semua gateway.

2. Menangani Webhook (Update Database)

Package ini sudah menangani validasi keamanan signature secara otomatis. Anda cukup membuat Listener untuk mengupdate database aplikasi Anda.

Langkah 1: Buat Listener php artisan make:listener UpdateStatusPesanan

Langkah 2: Isi Logic Update

Langkah 3: Daftarkan Event Buka app/Providers/EventServiceProvider.php:

Pengujian (Testing)

Jalankan perintah ini untuk memastikan semua integrasi berjalan lancar:

Referensi Resmi


License: MIT


All versions of laravel-multipayment with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fadhila36/laravel-multipayment contains the following files

Loading the files please wait ...