Download the PHP package medyat/parapos without Composer
On this page you can find all versions of the php package medyat/parapos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package parapos
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:
The bundled (bigint) migration can be published as a starting point:
Running two profiles in one application
Global config assumes one profile per process. When an application collects on more than one โ say
a tenant context and an admin context sharing the same workers โ pass the profile to Parapos
instead, and nothing has to be written to global config (writes that would otherwise leak from one
request into the next under Octane or a queue worker):
model, response_url, tenant and appUrl each fall back to config('parapos.*') (and
config('app.url')) when omitted, so an application with a single profile needs no changes.
The 3D callback needs a matching route. Extend HandleResponseAction, override what differs, and
register it wherever you like:
Set 'register_routes' => false if you would rather register every callback route yourself.
๐งน Keep a modern codebase with Pint:
โ Run refactors using Rector
โ๏ธ Run static analysis using PHPStan:
โ Run unit tests using PEST
๐ Run the entire test suite:
All versions of parapos with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^10.0|^11.0|^12.0|^13.0
illuminate/translation Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
ext-curl Version *