PHPackages                             se7enxweb/bcurlaliaswithdash - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. se7enxweb/bcurlaliaswithdash

ActiveEzpublish-legacy-extension[Utility &amp; Helpers](/categories/utility)

se7enxweb/bcurlaliaswithdash
============================

BC Url Alias With Dash is a simple eZ Publish Platform (Legacy) kernel override extension which overrides the default ezchartransform class to provide a simple feature it allows all content urls to be separated by a dash character rather than the default underscor character. Great for advanced developers!

0.1.1(2y ago)2611GPL-2.0-or-laterPHPPHP &gt;=5.0.0

Since Jan 29Pushed 2mo agoCompare

[ Source](https://github.com/se7enxweb/bcurlaliaswithdash)[ Packagist](https://packagist.org/packages/se7enxweb/bcurlaliaswithdash)[ Docs](https://github.com/se7enxweb/bcurlaliaswithdash)[ Fund](https://account.venmo.com/u/se7enxweb)[ Fund](https://cash.app/$7xweb)[ RSS](/packages/se7enxweb-bcurlaliaswithdash/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

BC Url Alias With Dash
======================

[](#bc-url-alias-with-dash)

This extension is a simple eZ Publish Platform (Legacy) kernel override extension which overrides the default ezchartransform class to provide a simple feature it allows all content urls to be separated by a dash character rather than the default underscor character. Great for advanced developers!

With this kernel class override installed and enabled you can finally use the dash character as a url separator character in all your content.

This is helpful and useful for distinguishing website from others with just the default urlalias\_compat configuration using underscores in their urls.

Version
=======

[](#version)

- The current version of BC Url Alias With Dash is 0.1.1
- Last Major update: March 24, 2023

Copyright
=========

[](#copyright)

- BC Url Alias With Dash is copyright 1999 - 2023 Brookins Consulting and eZ Systems AS
- See: [COPYRIGHT.md](COPYRIGHT.md) for more information on the terms of the copyright and license

License
=======

[](#license)

BC Url Alias With Dash is licensed under the GNU General Public License.

The complete license agreement is included in the [LICENSE](LICENSE.md) file.

BC Url Alias With Dash is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License or at your option a later version.

BC Url Alias With Dash is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU GPL gives you the right to use, modify and redistribute BC Url Alias With Dash under certain conditions. The GNU GPL license is distributed with the software, see the file LICENSE.

It is also available at

You should have received a copy of the GNU General Public License along with BC Url Alias With Dash in LICENSE.

If not, see .

Using BC Url Alias With Dash under the terms of the GNU GPL is free (as in freedom).

For more information or questions please contact:

Requirements
============

[](#requirements)

The following requirements exists for using BC Url Alias With Dash extension:

### eZ Publish version

[](#ez-publish-version)

- Make sure you use eZ Publish version 5.x (required) or higher.
- Designed and tested with eZ Publish Legacy 5.99alpha1

### PHP version

[](#php-version)

- Make sure you have PHP 5.x or higher.

Features
========

[](#features)

This solution provides the following features:

- Kernel Module Class Override Class: eZCharTransform

### Dependencies

[](#dependencies)

- This solution depends on eZ Publish Legacy and kernel class overrides enabled in config.php

### Kernel class override

[](#kernel-class-override)

This solution overrides the following kernel class:

- PHP Class : `eZCharTransform` - Found by default at: `lib/ezutils/classes/ezchartransform.php`

This solution provides the following kernel class override:

- PHP Class : `eZCharTransform` - Found by at: `extension/bcurlaliaswithdash/classes/kerneloverride/v2023.03.24/lib/ezutils/classes/ezchartransform.php`

**Note**: This solution requires only one legacy kernel class override of a class that is very stable and not subject to much change (if at all) per release (which is important for maintainability). The class has not been modified or [needed a bugfix since early 2017](https://github.com/ezsystems/ezpublish-legacy/blob/master/lib/ezutils/classes/ezchartransform.php).

Installation
============

[](#installation)

### Bundle Installation via Composer

[](#bundle-installation-via-composer)

Run the following command from your project root to install the bundle:

```
bash$ composer require brookinsconsulting/bcurlaliaswithdash dev-master;

```

### Extension Activation

[](#extension-activation)

Optional. Activate this extension by adding the following to your `settings/override/site.ini.append.php`:

```
[ExtensionSettings]
#
ActiveExtensions[]=bcurlaliaswithdash

```

Kernel class override extensions are **not** activated via ini settings. Normal site.ini extension activation settings are not required to use this extension and it's solution.

### Enable eZ Publish Kernel Overrides

[](#enable-ez-publish-kernel-overrides)

Kernel class overrides are only able to be used if you add the following to your eZ Publish Legacy config.php configuration file.

```
cp -va config.php-RECOMMENDED config.php;
# Edit config.php to set 'EZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDE' to true. It should look like this:
define( 'EZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDE', true );

```

### Regenerate kernel class override autoloads

[](#regenerate-kernel-class-override-autoloads)

Regenerate kernel class override autoloads (Required).

```
php ./bin/php/ezpgenerateautoloads.php --kernel-override;

```

### Clear the caches

[](#clear-the-caches)

Optional. Clear eZ Publish Platform / eZ Publish Legacy caches (Required).

```
php ./bin/php/ezcache.php --clear-all;

```

Usage
=====

[](#usage)

The solution is configured to work virtually by default once properly installed.

Note: Once installed. Clear caches and run the bin/php/updateniceurls.php script to convert to urls with dash separators.

Note: This solution depends on the setting, '\[URLTranslator\] TransformationGroup=urlalias\_compat' in site.ini.append.php

Note: In some installations after runing the above script republishing of all nodes in content tree was required. This was done via the admin in less than 10min.

Troubleshooting
===============

[](#troubleshooting)

### Read the FAQ

[](#read-the-faq)

Some problems are more common than others. The most common ones are listed in the the [doc/FAQ.md](doc/FAQ.md)

### Support

[](#support)

If you have find any problems not handled by this document or the FAQ you can contact Brookins Consulting through the support system:

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance57

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

833d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a5049c5b1e7a22c301a2472d09281be35f717da316873861c1a8ae785ada7a?d=identicon)[7x](/maintainers/7x)

---

Top Contributors

[![brookinsconsulting](https://avatars.githubusercontent.com/u/617031?v=4)](https://github.com/brookinsconsulting "brookinsconsulting (3 commits)")[![se7enxweb](https://avatars.githubusercontent.com/u/51429274?v=4)](https://github.com/se7enxweb "se7enxweb (3 commits)")

---

Tags

classextensionoverrideez publisheZ Publish LegacyeZ Publish Platformkernel overrideUrlAliasezchartransform

### Embed Badge

![Health badge](/badges/se7enxweb-bcurlaliaswithdash/health.svg)

```
[![Health](https://phpackages.com/badges/se7enxweb-bcurlaliaswithdash/health.svg)](https://phpackages.com/packages/se7enxweb-bcurlaliaswithdash)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
