PHP Joomla! 6 Joomla! 5 Joomla! 3 (Legacy) Helper / API Basic

Generate Clean URL-Safe Slugs with ApplicationHelper::stringURLSafe()

Transliterates accented characters and strips symbols into clean SEF-ready aliases honoring Joomla global settings.

Updated on 24 November 2026 30 copies 111 views
administrator/components/com_example/src/Table/ItemTable.php
<?php

declare(strict_types=1);

use Joomla\CMS\Application\ApplicationHelper;

$title = 'Configuração Avançada de Joomla! 6';
$alias = ApplicationHelper::stringURLSafe($title, 'pt-BR');
// Resultado: "configuracao-avancada-de-joomla-6"
Automatically honors Global Configuration Unicode Aliases.
administrator/components/com_example/src/Table/ItemTable.php
<?php
$alias = JFilterOutput::stringURLSafe('Configuração Avançada de Joomla! 3');
Legacy Joomla 3 call using JFilterOutput::stringURLSafe().

Technical explanation and best practices

Inside Table::check() or data importers, ApplicationHelper::stringURLSafe() automatically applies Joomla transliteration and honors the Global Configuration Unicode Aliases setting.

Direct Engineering

Have a Joomla project or technical challenge in mind?

From architectural diagnosis to production deployment, directly with the engineer.