Download the PHP package fateel-tech/moyasar-php without Composer

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

🚀 Moyasar PHP SDK

A modern, easy-to-use PHP SDK for Moyasar Payment Gateway with built-in Laravel integration.

PHP Version

⚠️ Important Notice

We are NOT Moyasar. We are Fateel Tech, an independent IT company that builds solutions for our clients. Since the official Moyasar PHP package was abandoned and no longer maintained, we decided to create and maintain this modern SDK to make integration easier for the community.

Fateel Tech is an official partner with Moyasar, ensuring this package stays up-to-date with their latest API changes and best practices.

🚨 Migration from moyasar/moyasar-php

This SDK is not a drop-in replacement for the abandoned moyasar/moyasar package. While it covers the same core functionality (Payments, Invoices), the API design and usage patterns have been modernized and we have included support for tokenization and webhooks. As a result, existing code using the old SDK will need to be updated.

🔄 Quick Migration Guide

Old Way (moyasar/moyasar-php):

New Way (fateel-tech/moyasar-php):

Key improvements: Modern PHP 8.0+, tokenized card payments, webhook management, metadata search, strongly typed responses, comprehensive Laravel integration.

🛣️ Roadmap

We're actively working to provide complete Moyasar API coverage. The following features are on our roadmap:

🤝 Contributions Welcome! If you'd like to help implement any of these features, please feel free to submit a pull request or open an issue to discuss implementation details.

🤝 Need Custom Development?

If you need custom payment integrations, Laravel applications, or any other development services, feel free to reach out to us:

Contact Fateel Tech: https://fateel.sa/contact-us

We specialize in:


✨ Features


📦 Installation


⚡ Quick Start

Pure PHP

Laravel

Publish configuration and set keys:

.env


🎯 Usage

Dependency Injection

Facade

Blade Helpers


🔔 Webhooks - Complete Guide

🚀 Quick Setup with make-webhook Command

The moyasar:make-webhook command does everything for you:

  1. Creates the webhook in Moyasar - Registers with the payment gateway
  2. Generates scaffold controller - Basic event handling structure
  3. Adds route automatically - Ready-to-use webhook endpoint

📦 Optional: Publish Request Classes

🛠️ Manual Webhook Creation

For pure PHP or custom Laravel setups:

📊 Available Events

💡 View Complete List: WebhookEvent.php with descriptions and helper methods.

Most Used Payment Events:

Post-Payment Events:

Payout & Balance Events:

Event Helper Methods:

🛠️ Management Commands (Laravel)

List & View Webhooks:

Debug Delivery Attempts:

Command Features:


💰 Settlement API

Track and manage your settlement data with comprehensive settlement operations.

📋 List Settlements

🔍 Find Settlement

📊 Settlement Lines (Fluent API)

📄 Direct Settlement Lines Access

🔧 Settlement Helper Methods


💼 Real-World Examples

E-commerce Payment

Include order metadata for seamless tracking:

Subscription Billing

Monthly billing job example:


⚠️ Apple Pay Notice

Apple Pay failures trigger on_completed but NOT callback_url.

Recommendation: Always verify Apple Pay payment status on your server immediately upon completion.


📄 License

MIT License


All versions of moyasar-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-json Version *
ext-curl Version *
guzzlehttp/guzzle Version ^7.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.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 fateel-tech/moyasar-php contains the following files

Loading the files please wait ...