Download the PHP package hamada-emam-tech/esign-uaepass without Composer

On this page you can find all versions of the php package hamada-emam-tech/esign-uaepass. 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 esign-uaepass

hamada-emam-tech/esign-uaepass

UAE PASS digital signature driver for hamada-emam-tech/esign. The signer signs a PDF with their own UAE PASS identity: a qualified signature for verified (SOP3) accounts, advanced for SOP2. The output is PAdES.

Status: built from UAE PASS's official documentation. Not yet verified against UAE PASS staging.

How UAE PASS differs from envelope platforms

UAE PASS
Who is invited Nobody. send() returns a URL, and you redirect the signer's browser to it.
Before signing The user must be logged in to your app with UAE PASS (UAE PASS requires this, so it can check that the same person signs).
Signers per envelope 1. A second person signs the signed output in a new process, with a different field_name (Sign2).
Documents per envelope 1
Completion notice No webhook. UAE PASS redirects the browser to your finish_callback_url?status=…&signer_process_id=…. It is unsigned, so treat it as a hint and call status().
Identity method uae_pass

The core checks the signer count, document count and identity method from the declared capabilities before anything is sent.

Configure

Option Default Notes
environment staging staging → https://stg-id.uaepass.ae, production → https://id.uaepass.ae
client_id, client_secret required Issued by UAE PASS during onboarding. Staging has public proof-of-concept credentials, listed in UAE PASS's docs.
finish_callback_url none Where the browser returns. Envelope::$callbackUrl overrides it per envelope.
labels [["digitalid","server","qualified"]] The signature level, as in UAE PASS's example.
ui_locale en_US
skip_document_view true false shows the document to the user before signing.
field_name Sign1 Use a different name for every later signature on the same PDF.
default_rectangle {x:100, y:110, width:400, height:150} Used on the last page when the signer has no SignatureField.
show_signature_details true false hides the signer name and date from the visible signature.
base_url, http_client, request_factory, stream_factory, cache As for every driver.

Use it

Status mapping

UAE PASS result EnvelopeStatus
no result yet (404) Sent
finished Signed
canceled Cancelled
failed, failed_documents Failed
anything else throws ProviderError

download() runs only when the status is Signed, and only returns a PDF that carries a digital signature.

Capabilities

UAE PASS
Identity methods uae_pass
Documents / signers per envelope 1 / 1
Field placement, signing link yes
Signing order, reminders, deadlines, signer details, webhook management no

Open points to confirm on staging

  1. Result endpoint. UAE PASS's endpoints table gives /trustedx-resources/esignsp/v2/signer_processes/{id}/result; its step-3 page shows /trustedx-resources/esigp/v1/signatures/{id}/result. The driver uses the endpoints table.
  2. Before the user finishes. What the result endpoint returns is undocumented. The driver treats a 404 or a missing status as Sent.
  3. Coordinates. The rectangle units and origin are undocumented. The driver passes SignatureField values through, rounded.
  4. Cancel. DELETE on the process is documented as clean-up after download. The driver also uses it to cancel an unfinished process.

Sources


All versions of esign-uaepass with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-json Version *
hamada-emam-tech/esign Version ^0.3
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/simple-cache Version ^1.0 || ^2.0 || ^3.0
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 hamada-emam-tech/esign-uaepass contains the following files

Loading the files please wait ...