Skip to content

Conversation

@mweinschenk
Copy link
Member

  • Add runtime guard for GMP extension (RequirementException)
  • Update dependencies

dependabot bot and others added 3 commits November 17, 2025 18:46
Updates the requirements on [kornrunner/ethereum-address](https://github.com/kornrunner/php-ethereum-address) to permit the latest version.
- [Release notes](https://github.com/kornrunner/php-ethereum-address/releases)
- [Commits](kornrunner/php-ethereum-address@v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: kornrunner/ethereum-address
  dependency-version: 0.4.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@mweinschenk mweinschenk requested a review from Copilot November 20, 2025 08:25
@mweinschenk mweinschenk merged commit 2e33010 into main Nov 20, 2025
7 checks passed
@mweinschenk mweinschenk deleted the v0.2.2 branch November 20, 2025 08:26
Copilot finished reviewing on behalf of mweinschenk November 20, 2025 08:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a runtime guard to ensure the GMP PHP extension is loaded before the package initializes, and updates the kornrunner/ethereum-address dependency to version 0.4.0.

  • Added RequirementException to handle missing PHP extension requirements
  • Implemented GMP extension check in service provider initialization with a clear, actionable error message
  • Updated kornrunner/ethereum-address from ^0.3.0 to ^0.4.0

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/LaravelEvmServiceProvider.php Added GMP extension runtime check in packageRegistered() method and added void return type declaration
src/Exceptions/RequirementException.php New exception class for missing runtime prerequisites, extends EvmException
composer.json Updated kornrunner/ethereum-address dependency to ^0.4.0

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.

2 participants