Download the PHP package usezeny/laravel without Composer

On this page you can find all versions of the php package usezeny/laravel. 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

# usezeny/laravel **Take payments in your Laravel app in minutes.** Payment links, QRIS, virtual accounts and e-wallets, with one `composer require`. [![CI](https://github.com/Zeny-Pay/zeny-laravel-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/Zeny-Pay/zeny-laravel-sdk/actions/workflows/ci.yml) ![PHP 8.2+](https://img.shields.io/badge/PHP-8.2%2B-777BB4?logo=php&logoColor=white) ![Laravel 12 | 13](https://img.shields.io/badge/Laravel-12%20%7C%2013-FF2D20?logo=laravel&logoColor=white) ![PHPStan max](https://img.shields.io/badge/PHPStan-level%20max-2a5ea7) [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE) [Get started](#get-started-in-3-steps) ยท [See it work](#how-a-payment-flows) ยท [Full guide](GUIDE.md) ยท [Changelog](CHANGELOG.md)

Why you'll like it

๐Ÿ”— Payment links in one call Create a hosted checkout page and send your customer there. No checkout UI to build.
๐Ÿ‡ฎ๐Ÿ‡ฉ Every way Indonesia pays QRIS, bank virtual accounts (BCA and more) and e-wallets such as GoPay, all from the same link.
๐Ÿ›ก๏ธ Never charges twice Network hiccups are retried for you, and every retry is the same request, so a customer is never charged twice.
๐Ÿ”” Know the moment you're paid Webhooks arrive signed and checked. One middleware, and your route gets a ready-to-use event.
๐Ÿงช Sandbox first A test key gives you a full playground with fake money. Switch to a live key when you're ready. Nothing else changes.
๐ŸŽฏ Feels like Laravel Auto-discovered service provider, a Zeny facade, .env config and a mockable interface for your tests.

Get started in 3 steps

1. Install

2. Add your keys to .env

A sk_test_ key works in Sandbox, where no real money moves.

3. Create a payment link and send your customer to it

That's it. Your customer pays on the hosted page and comes back to your thank-you page.

How a payment flows

๐Ÿ’ก Golden rule: mark an order paid only when the payment.paid webhook arrives, never just because the customer came back to your site.

Know when you're paid

Add the zeny.webhook middleware to a route. It checks every webhook's signature, and your code only sees real events:

Webhooks can arrive twice, so the route saves each event once by its id and ignores repeats.

What you can do

Payment links Create, list, close, reopen and cancel hosted checkout links. Limit how many times a link can be paid, and ask for the payer's name, email or phone.
Payments Build your own checkout: create a payment, then show the customer a QR code, a virtual account number or an e-wallet redirect.
Payouts Send money out to a bank account, and cancel a payout before it goes out.
Disputes See the disputes raised on your payments.
Sandbox test funds Top up your Sandbox balance to try payouts.

Every option and edge case is in the Guide:

Built to be safe

Requirements

PHP Laravel
8.2+ 12
8.3+ 12 or 13

Outside Laravel, the client works in any PHP 8.2+ project. See the Guide.

Contributing

Issues and pull requests are welcome. RELEASING.md explains how a version ships.

License

MIT. See LICENSE.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.8
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
psr/http-client Version ^1.0
psr/http-message Version ^1.1|^2.0
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 usezeny/laravel contains the following files

Loading the files please wait ...