Download the PHP package itk-dev/os2forms_digital_post without Composer

On this page you can find all versions of the php package itk-dev/os2forms_digital_post. 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 os2forms_digital_post

Warning: This repository has been archived. Use the os2forms_digital_post module in OS2Forms/os2forms.

OS2Forms Digital Post

Send Digital Post to danish citizens from a webform.

This module uses the SF1601 service from Serviceplatformen. Information and documentation can be obtained by following that link.

Usage

This module provides functionality for sending digital post to danish citizens. A WebformHandler is provided that you can add to your webform, and if configured it will send the submitted data as digital post.

Beskedfordeler endpoint

This module provides an endpoint, /os2forms_digital_post/PostStatusBeskedModtag, for “PostStatusBeskedModtag” to get information on how or why not a digital post has been delivered. See “PostStatusBeskedHent” on https://digitaliseringskataloget.dk/integration/sf1601 for details.

Installation

Require it with composer:

Enable it with drush:

Example forms

See OS2Forms Digital Post examples.

Configuration

Go to /admin/os2forms_digital_post/settings to set up global settings for digital post.

Drush commands

Queue

Digital post is sent via jobs via an Advanced Queue called os2forms_digital_post.

The queue is processed via Drupal's cron run, but you can manually process the queue with drush if you want to process it more often than other Drupal cron jobs:

List the queue (and all other queues) with

or go to /admin/config/system/queues/jobs/os2forms_digital_post for a graphical overview of jobs in the queue.

Coding standards

All coding standards are checked with GitHub Actions when a pull request is made (cf. <.github/workflows/pr.yaml>).

Check coding standards:

Apply coding standards:


All versions of os2forms_digital_post with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-dom Version *
ext-soap Version *
dompdf/dompdf Version ^2.0
drupal/advancedqueue Version ^1.0
drupal/webform Version ^6.0
drush/drush Version ^11 || ^12
http-interop/http-factory-guzzle Version ^1.0.0
itk-dev/beskedfordeler-drupal Version ^1.0
itk-dev/serviceplatformen Version dev-feature/guzzle6-adapter as 1.5
os2forms/os2forms Version ^3.0
os2web/os2web_datalookup Version ^1.5
php-http/guzzle6-adapter Version ^2.0
symfony/options-resolver Version ^5.4 || ^6.0
wsdltophp/packagebase Version ^5.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 itk-dev/os2forms_digital_post contains the following files

Loading the files please wait ....