This module encrypts and decrypts URLs and their query strings, providing a way to obscure sensitive data within web addresses.
This module provides the functionality to (de)encrypt URLs and query strings.
Example
use Drupal\Core\Url;
$params = [
'id' => 'My_ID',
'name' => 'John',
'email' => '[email protected]',
];
$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
Ask your assistant about URL Obfuscator
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta2 | Pre-release | 9–10 | Feb 11, 2025 | ||
| 1.0.0-beta1 | Pre-release | 9–10 | Mar 15, 2023 |