This module provides the functionality to (de)encrypt URLs and query strings.

Example

  use Drupal\Core\Url;

  $params = [
    'id' => 'My_ID',
    'name' => 'John',
    'email' => 'example@example.com',
  ];
  $query = \Drupal::service('url_obfuscator.manager')->getEncryptedQuery($params);

  $url = Url::fromRoute('<front>', [], ['query' => $query])

Sponsors

Supporting organizations: 

Project information

  • Project categories: Security
  • Created by facine on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases