Skip to content

Add PHP 8.2+ and Omnipay 3.4 support - #7

Open
webong wants to merge 1 commit into
PaystackHQ:masterfrom
webong:feature/php83-omnipay3-modernization
Open

Add PHP 8.2+ and Omnipay 3.4 support#7
webong wants to merge 1 commit into
PaystackHQ:masterfrom
webong:feature/php83-omnipay3-modernization

Conversation

@webong

@webong webong commented Jun 14, 2026

Copy link
Copy Markdown

Summary

  • Require PHP ^8.2|^8.3|^8.4 and omnipay/common ^3.4
  • Add declare(strict_types=1) and return/parameter types across the gateway
  • Refresh dev tooling to PHPUnit 11 and omnipay/tests v4
  • Fix GET verification requests so they no longer send an empty JSON body
  • Remove legacy GrumPHP/Travis/Scrutinizer config and obsolete skipped tests

Test plan

  • composer install
  • vendor/bin/phpunit (29 tests, 52 assertions)
  • Verified gateway resolves via Omnipay::create('Paystack') in a Laravel 12 / PHP 8.3 application

Breaking changes

  • Drops PHP 7.x support (recommend tagging as a new major release)

Made with Cursor

Modernize the gateway for current PHP runtimes with strict types, updated
dev dependencies, PHPUnit 11, and fixes for Paystack verification requests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@webong
webong force-pushed the feature/php83-omnipay3-modernization branch from 9c22f8e to 7eea070 Compare June 22, 2026 08:58
@webong
webong force-pushed the feature/php83-omnipay3-modernization branch from 7eea070 to e306f44 Compare August 13, 2026 23:45
@webong
webong force-pushed the feature/php83-omnipay3-modernization branch 3 times, most recently from 6f7fe93 to e306f44 Compare September 1, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant