Download the PHP package elmmac/ikhokha without Composer

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

ElmMac - Laravel iKhokha Payment Integration API 💳

Laravel iKhokha Payment Integration API (elmmac/ikhokha) 💳

Latest Version on Packagist Total Downloads Laravel GitHub Repo stars

Official Laravel package to integrate iKhokha Pay Links and Webhooks into your Laravel projects.


📘 ElmMac iKhokha Laravel Package API

This Laravel package provides a native iKhokha payment integration layer, complete with:

Perfect for:

✔ SaaS platforms ✔ Marketplaces ✔ Payment-based apps ✔ Donation systems ✔ Subscription-like flows

🔒 Secure, scalable, and modular — ideal for custom Laravel SaaS and marketplaces.


🛆 Features

✅ Webhook listener & processor\ ✅ Auto-persist IkhokhaPayment records\ ✅ Extendable IkhokhaClient for outbound API calls\ ✅ Built for Laravel 9/10+\ ✅ Clean PSR-4 package structure\ ✅ Optional config, views, and migration publishing\ ✅ Optional UI views included (Blade templates)

Current Package Structure


🛆 Installation

Step 1: Install via Composer

Step 2: Register Service Provider (if needed)

For Laravel < 5.5 or explicit config


⚙️ Configuration

Optional: Publish the config

This publishes: config/ikhokha.php

Edit your .env file:


📄 Publish Views (Optional UI)

Views will be published to: resources/views/ikhokha

Use them as base templates or customize freely.


🗃️ Migrations

Optional: Publish Migrations

Migration will be published to: database/migrations/

Then run:

Model:

Table: ikhokha_payments

Add relationship in your User.php:

And in IkhokhaPayment.php:

🛆 Example Manual Entry:


🔗 Create Payment Link Payload - REQUEST | Refer to 🔗 iKhokha API Overview for more.

Use this structure to initiate payment (All iKhokha Requests & Responses MUST be in JSON format):

Create Paylink/Payment Link Response Object


🔁 Webhook Setup | Refer to 🔗 iKhokha API Overview for more.

📬 Webhook URL:

Required headers:

📨 Sample Payload:


🚦 Route Summary

Method URL Purpose
POST /ikhokha-initiate Create payment link
GET /ikhokha/success Redirect page after payment
GET /ikhokha/failed Failed payment view
GET /ikhokha/cancel Cancel payment view
POST /api/ikhokha/webhook Webhook callback

📋 Artisan Helper Tags (Optional)

For dev reminders:

Use only the ones you need! 💡


🧠 Roadmap


🤝 Contributing

Pull requests welcome. Open an issue for proposals or fixes.\ Make sure tests pass if you're submitting functional changes.


🙏 Credits

Developed with 🚀 by ElmMac Pty Ltd\ Maintained by @ElmMac - Misael Cruise MutegeWhatsApp: +27786411181 Durban, South Africa\ Digital Dev | Hustler Mode: ON 💼


📄 License

MIT License © ElmMac " ||| just edit according to the chamges say like the folder structure excluding the package folder, etc depending on what has changed so far.


All versions of ikhokha with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0|^8.1|^8.2|^8.3
illuminate/support Version ^7.0|^8.0|^9.0|^10.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 elmmac/ikhokha contains the following files

Loading the files please wait ...