Download the PHP package malikzohaib/openid4vp-eudi-verifier without Composer

On this page you can find all versions of the php package malikzohaib/openid4vp-eudi-verifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package openid4vp-eudi-verifier

EUDI PHP SDK

A framework-agnostic PHP SDK for building server-side EUDI Wallet verifier integrations. It provides OpenID for Verifiable Presentations (OpenID4VP) orchestration, DCQL requests, HAIP 1.0 request and encrypted response handling, SD-JWT VC verification, trust resolution, QR rendering, and test utilities.

This is an independent, community-developed project and is not an official European Commission or EUDI Wallet reference implementation.

This project is under active development. Review the implementation and your applicable regulatory, security, and interoperability requirements before using it in production.

Requirements

Installation

After the package has been published on Packagist:

Before it is on Packagist, another project can install it directly from GitHub:

Replace the example GitHub URL with the actual repository URL. For production projects, install a tagged release such as ^1.0 instead of dev-main.

Composer loads all SDK namespaces automatically through vendor/autoload.php:

Pass the request to a configured Eudi\VerifierCore\Application\VerifierService. A host framework or extension must supply implementations for session persistence and request-object signing; the SDK deliberately keeps these integration concerns behind interfaces.

Packages and namespaces

Namespace Purpose
Eudi\VerifierCore\ OpenID4VP flow, DCQL, domain objects, contracts, and HAIP helpers
Eudi\CredentialSdJwt\ SD-JWT VC parsing, disclosures, key binding, status, and X.509 trust validation
Eudi\CredentialMdoc\ Extension point for ISO mdoc verification
Eudi\Trust\ Trust resolver contracts and a static trust store
Eudi\Http\ direct_post form parsing helpers
Eudi\QrCode\ QR-code rendering adapter
Eudi\Testing\ In-memory/file stores, fake wallet, issuer, keys, and clocks for development

The component-level composer.json files are retained so components can later be published independently. Installing malikzohaib/openid4vp-eudi-verifier installs and autoloads all components as one package.

Integration flow

  1. Create a VerifierConfig for your public verifier URL, client identifier, wallet authorization endpoint, response mode, and profile.
  2. Implement SessionStoreInterface using durable, concurrency-safe storage.
  3. Implement RequestObjectSignerInterface, normally with a production certificate-backed signer.
  4. Register the credential format handlers you accept in CredentialHandlerRegistry.
  5. Call VerifierService::start() with a PresentationRequest.
  6. Expose the returned request URI and redirect or display the authorization URI as a QR code.
  7. Pass the wallet's form body to VerifierService::handleDirectPost().
  8. Read verified credentials only from the completed session's verification result.

For the exact HAIP 1.0 redirect call path and security behavior, see HAIP-1.0.md.

Security notes

Please report vulnerabilities according to SECURITY.md, not through a public issue.

Development

See CONTRIBUTING.md for contribution and release guidance.

Publishing

  1. Move this directory into its own public GitHub repository (or publish it with a subtree split).
  2. Confirm that homepage, support, and README URLs match the public repository.
  3. Push the default branch and confirm the GitHub Actions build passes.
  4. Register the repository at Packagist and enable its GitHub hook.
  5. Create a SemVer tag such as v1.0.0; do not add a version field to composer.json.

Consumers can then install a stable line with composer require malikzohaib/openid4vp-eudi-verifier:^1.0.

License

Released under the MIT License.


All versions of openid4vp-eudi-verifier with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-json Version *
ext-openssl Version *
ext-zlib Version *
endroid/qr-code Version ^5.1
web-token/jwt-library Version ^4.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package malikzohaib/openid4vp-eudi-verifier contains the following files

Loading the files please wait ...