Download the PHP package nowo-tech/pdf-signable-bundle without Composer

On this page you can find all versions of the php package nowo-tech/pdf-signable-bundle. 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 pdf-signable-bundle

PdfSignable Bundle

CI Packagist Version Packagist Downloads

⭐ Found this useful? Install from Packagist · Give it a star on GitHub to help others find it.

Symfony bundle to define signature box coordinates on PDFs. Form type with an in-browser PDF.js viewer: users place and resize signature areas by clicking and dragging. Supports units (mm, cm, pt), validation, proxy for external PDFs, and hooks for PKI/timestamp/batch signing. Symfony 6.1+, 7.x, 8.x Β· PHP 8.1+.

What is this?

This bundle helps you define signature box coordinates on PDFs in your Symfony applications for:

Quick Search Terms

Looking for: PDF signature coordinates, signature box placement, PDF.js Symfony, PDF form coordinates, signature position configurator, Symfony PDF viewer, signature overlay, PDF signing workflow, coordinate picker, document signing? You've found the right bundle!

Features

Screenshots

Demo index β€” Each card shows a different way to configure SignatureCoordinatesType (named configs, URL options, box validation, model prefill):

Signature coordinates form β€” PDF viewer with draggable signature boxes; unit/origin selector and box list on the right:

Signature form (alternate view) β€” Same form with thumbnails strip, zoom toolbar and optional rotation; boxes can be placed flush to page edges at any angle:

Installation

Symfony Flex registers the bundle automatically. Otherwise see Installation to register the bundle and routes.

Unreleased / dev: To use the latest default branch (main or master), add the VCS repo and require dev-main or dev-master β€” see docs/INSTALLATION.md.

Quick Start

  1. Add the form type to your form (or use the default route /pdf-signable):

  2. Render the form with the bundle form theme so the PDF viewer and boxes render correctly:

  3. On submit you get a SignatureCoordinatesModel with pdfUrl, unit, origin and signatureBoxes (each with name, page, x, y, width, height, and angle when enable_rotation is true).

Configure nowo_pdf_signable (proxy, example URL, optional Usage for full options and examples.

Requirements

Configuration

The bundle works with default settings. Create or edit config/packages/nowo_pdf_signable.yaml:

See CONFIGURATION.md for the full tree (proxy_url_allowlist, audit, tsa_url, signing_service_id, acroform.*, etc.) and default values.

Demos

Dockerized demos (Symfony 7 and 8, Bootstrap, Vite, TypeScript) with multiple usage examples. They run with FrankenPHP (Caddy + PHP): the Dockerfile ships a production Caddyfile with php_server worker, but with APP_ENV=dev the container entrypoint swaps in Caddyfile.dev (no worker, cache-busting headers) so local dev matches screenshots above show the demo home (configuration cards), the signature coordinates form (PDF viewer + boxes), and an alternate view with thumbnails, zoom and rotation.

Twenty-plus demos: no config, default config, fixed_url, overridden config, URL as dropdown, limited boxes, same signer (multiple locations), unique per name (array), page restriction, sorted boxes, no-overlap, allow-overlap, min-size-boxes, rotation, defaults-by-name, snap-to-grid, guides-and-grid, viewer lazy-load, AcroForm editor, AcroForm editor min-size, latest features (combined), predefined boxes; plus signing (draw, upload, legal disclaimer, predefined boxes β€” sign only, signing options). See demo/Makefile.

Xdebug

Demos include Xdebug. Your IDE should listen on port 9003. To start only on demand, set XDEBUG_START_WITH_REQUEST=trigger in the demo docker-compose.yml and use your IDE trigger.

Frontend (Vite + TypeScript)

The PDF viewer is built with Vite and TypeScript. The bundle ships a built file at src/Resources/public/js/pdf-signable.js. After installing the bundle:

To rebuild from source (bundle root):

Tests and QA

From the bundle root (optionally via Docker):

Or locally: composer test, composer test-coverage, composer cs-check, composer qa. The bundle Docker image includes PCOV for coverage.

Documentation

Additional documentation

Tests and coverage

License

The MIT License (MIT). Please see LICENSE for more information.

Contributing

We welcome contributions! Please see SECURITY.md.

Author

Created by HΓ©ctor Franco Aceituno at Nowo.tech


All versions of pdf-signable-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1 <8.6
symfony/framework-bundle Version ^6.0 || ^7.0 || ^8.0
symfony/form Version ^6.0 || ^7.0 || ^8.0
symfony/http-client Version ^6.0 || ^7.0 || ^8.0
symfony/process Version ^6.0 || ^7.0 || ^8.0
symfony/twig-bundle Version ^6.0 || ^7.0 || ^8.0
symfony/translation Version ^6.0 || ^7.0 || ^8.0
symfony/validator Version ^6.0 || ^7.0 || ^8.0
symfony/yaml Version ^6.0 || ^7.0 || ^8.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 nowo-tech/pdf-signable-bundle contains the following files

Loading the files please wait ...