Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Bitly Shortener

Security covered Maintenance fixes only 18 sites

This module connects your Drupal site to the Bitly URL shortening service. You can then generate shortened Bitly links for your content, either through a dedicated block or programmatically within your custom modules and Twig templates.

This Bitly Shortener module integrates drupal sites with the Bitly URL shortening service. We can use it in a custom module and twig template.

CONFIGURATION
Create an account on Bitly. Save the access token in the Bitly shortener configuration form. https://app.bitly.com/settings/api/

Block:
Bitly Shortener block assing in drupal block region. Generate the Bitly Shortener URL of the current page.

Services:
$bitly_url = \Drupal::service('bitly_shortener')->shortener('https://www.drupal.org/');

Twig:
{% set site_url = url("<current>") %}
{{ bitly_shortener(site_url|render|render) }}

Drupal 9–11

Ask your assistant about Bitly Shortener

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

Tracked releases
4
Tracked since
Jul 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.1.4 Stable 9–11 Oct 15, 2025
2.1.3 Stable 9–11 Aug 23, 2025
2.1.1 Stable 9–11 Jul 14, 2024
2.0.x-dev Dev 9–11 Jul 14, 2024