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
- Initial development: Fundación UNICEF Comité Español
- Contrib version: Amara NZero
Supporting organizations:
Project information
- Project categories: Security
- Created by facine on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

