Download the PHP package grupofixit/mpesa without Composer

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

Grupo FixIT M-Pesa PHP SDK (grupofixit/mpesa)

Latest Version on Packagist PHP Version Total Downloads

SDK oficial e independente de framework do Grupo FixIT Limitada para integração segura e de alta confiabilidade com a API Vodacom M-Pesa Moçambique (api.sandbox.vm.co.mz e api.vm.co.mz).


🌟 Características Principais


📋 Requisitos


🚀 Instalação

Instale a biblioteca via Composer:


⚙️ Configuração Inicial


💡 Exemplos de Uso

1. Cobrança a Cliente (C2B Single Stage)

Dispara um pedido de pagamento via USSD Push para o telemóvel do cliente (janela de 60 segundos para inserção do PIN).


2. Consulta de Estado de Transação (Status Query)

Utilizado para confirmar o estado final de qualquer transação (resposta oficial da Vodacom).


3. Consulta de Nome do Cliente (Customer Name Query)

Permite obter o nome ofuscado do titular antes de efetuar a cobrança para confirmação visual do utilizador.


4. Pagamento a Cliente (B2C) e Entre Empresas (B2B)


5. Estorno / Reembolso (Reversal)

Suporta estorno total ou parcial de pagamentos concluídos.


6. Processamento de Webhooks (Callback)

Parser rigoroso para callbacks assíncronos enviados pelos servidores da Vodacom.


🧪 Testes Unitários com FakeMpesa

Para testar as aplicações consumidoras sem disparar chamadas de rede à Vodacom:


🛡️ Segurança

Se descobrir alguma vulnerabilidade de segurança, envie um relatório confidencial para [email protected].


📄 Licença

Proprietária. © Grupo FixIT Limitada. Todos os direitos reservados.


All versions of mpesa with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-openssl Version *
ext-json Version *
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1 || ^2.0
psr/log Version ^1.1 || ^2.0 || ^3.0
psr/simple-cache Version ^1.0 || ^2.0 || ^3.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 grupofixit/mpesa contains the following files

Loading the files please wait ...