medyat/parapos

Php client for Parapos API

Maintainers

Package info

github.com/medyat/parapos-php

pkg:composer/medyat/parapos

Transparency log

Statistics

Installs: 812

Dependents: 0

Suggesters: 0

Stars: 0

3.0.0 2026-07-11 12:13 UTC

This package is auto-updated.

Last update: 2026-07-11 12:14:26 UTC


README

This package provides php client for Parapos API.

Requires PHP 8.2+

Upgrading a major version? See UPGRADE.md.

Using your own payment model

Point config('parapos.model') at your own Eloquent model (e.g. a uuid-keyed, tenant-aware one). It must use MedyaT\Parapos\Concerns\InteractsWithParaposPayment and implement MedyaT\Parapos\Contracts\PaymentStatus:

// config/parapos.php
'model' => \App\Models\Payment::class,

// Set to false when your app owns the payments schema
// (e.g. uuid primary key) and ships its own migration.
'load_migrations' => false,

The bundled (bigint) migration can be published as a starting point:

php artisan vendor:publish --tag=parapos-migrations

๐Ÿงน Keep a modern codebase with Pint:

composer lint

โœ… Run refactors using Rector

composer refacto

โš—๏ธ Run static analysis using PHPStan:

composer test:types

โœ… Run unit tests using PEST

composer test:unit

๐Ÿš€ Run the entire test suite:

composer test