gsteel / postmark-php
Postmark API Client Fork for PHP 8.1
Installs: 14 250
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 54
Open Issues: 1
Requires
- php: ~8.1 || ~8.2 || ~8.3 || ~8.4
- ext-json: *
- fig/http-message-util: ^1.1
- php-http/discovery: ^1.14.3
- psr/http-client: ^1.0.2
- psr/http-factory: ^1.0.2
- psr/http-message: ^1.1 || ^2.0
Requires (Dev)
- doctrine/coding-standard: ^12.0.0
- laminas/laminas-diactoros: ^3.3.1
- php-http/curl-client: ^2.3.2
- php-http/mock-client: ^1.6
- phpunit/phpunit: ^10.5.30
- psalm/plugin-phpunit: ^0.19.0
- squizlabs/php_codesniffer: ^3.10.2
- vimeo/psalm: ^5.25.0
Replaces
- wildbit/postmark-php: 4.0.2
This package is auto-updated.
Last update: 2024-11-13 16:32:43 UTC
README
This is a fork of the official Postmark-PHP library for Postmark. You can find the original at wildbit/postmark-php
This library preserves the api of the original, but has been updated to work on PHP 8.0 and 8.1 with improved type safety, internal re-organisation and BC breaking changes such as renamed/refined exception types, return type hints and parameter type hints.
You can find a summary of the differences in the pull-request on the original lib: #94
This version of the lib does not ship an HTTP client, or get one from composer… You'll need to install a PSR-18 compatible HTTP client up front such as Guzzle, php-http/curl-client etc.
Versions
This package is marked as a replacement for "wildbit/postmark-php": "4.0.2"
so it will break your project and any dependent libs if your types are out of whack.
Hopefully #94 will get merged so none of this is necessary…