{"id":21842570,"url":"https://github.com/brookinsconsulting/bcurlaliaswithdash","last_synced_at":"2026-05-21T07:13:37.123Z","repository":{"id":235180518,"uuid":"618363052","full_name":"brookinsconsulting/bcurlaliaswithdash","owner":"brookinsconsulting","description":"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.","archived":false,"fork":false,"pushed_at":"2023-03-27T06:33:50.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T11:27:50.529Z","etag":null,"topics":["dash","ezpublish","ezpublishlegacy","kernel-override","php","underscore","urlalias"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brookinsconsulting.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-24T10:01:32.000Z","updated_at":"2023-03-24T10:03:25.000Z","dependencies_parsed_at":"2024-04-22T15:42:28.913Z","dependency_job_id":"7bef70f4-d718-41d7-ba3f-1b20cbafeff0","html_url":"https://github.com/brookinsconsulting/bcurlaliaswithdash","commit_stats":null,"previous_names":["brookinsconsulting/bcurlaliaswithdash"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2Fbcurlaliaswithdash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2Fbcurlaliaswithdash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2Fbcurlaliaswithdash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brookinsconsulting%2Fbcurlaliaswithdash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brookinsconsulting","download_url":"https://codeload.github.com/brookinsconsulting/bcurlaliaswithdash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244825654,"owners_count":20516592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dash","ezpublish","ezpublishlegacy","kernel-override","php","underscore","urlalias"],"created_at":"2024-11-27T22:12:31.485Z","updated_at":"2026-05-21T07:13:37.095Z","avatar_url":"https://github.com/brookinsconsulting.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"BC Url Alias With Dash\n======================\n\nThis 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!\n\nWith this kernel class override installed and enabled you can finally use the dash character as a url separator character in all your content.\n\nThis is helpful and useful for distinguishing website from others with just the default urlalias_compat configuration using underscores in their urls.\n\n\nVersion\n=======\n\n* The current version of BC Url Alias With Dash is 0.1.1\n\n* Last Major update: March 24, 2023\n\n\nCopyright\n=========\n\n* BC Url Alias With Dash is copyright 1999 - 2023 Brookins Consulting and eZ Systems AS\n\n* See: [COPYRIGHT.md](COPYRIGHT.md) for more information on the terms of the copyright and license\n\n\nLicense\n=======\n\nBC Url Alias With Dash is licensed under the GNU General Public License.\n\nThe complete license agreement is included in the [LICENSE](LICENSE.md) file.\n\nBC Url Alias With Dash is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License or at your\noption a later version.\n\nBC Url Alias With Dash is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nThe GNU GPL gives you the right to use, modify and redistribute\nBC Url Alias With Dash under certain conditions. The GNU GPL license\nis distributed with the software, see the file LICENSE.\n\nIt is also available at [http://www.gnu.org/licenses/gpl.txt](http://www.gnu.org/licenses/gpl.txt)\n\nYou should have received a copy of the GNU General Public License\nalong with BC Url Alias With Dash in LICENSE.\n\nIf not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).\n\nUsing BC Url Alias With Dash under the terms of the GNU GPL is free (as in freedom).\n\nFor more information or questions please contact: license@brookinsconsulting.com\n\n\nRequirements\n============\n\nThe following requirements exists for using BC Url Alias With Dash extension:\n\n\n### eZ Publish version\n\n* Make sure you use eZ Publish version 5.x (required) or higher.\n\n* Designed and tested with eZ Publish Legacy 5.99alpha1\n\n\n### PHP version\n\n* Make sure you have PHP 5.x or higher.\n\n\nFeatures\n========\n\nThis solution provides the following features:\n\n* Kernel Module Class Override Class: eZCharTransform\n\n\n### Dependencies\n\n* This solution depends on eZ Publish Legacy and kernel class overrides enabled in config.php\n\n\n### Kernel class override\n\nThis solution overrides the following kernel class:\n\n* PHP Class : `eZCharTransform` - Found by default at: `lib/ezutils/classes/ezchartransform.php`\n\nThis solution provides the following kernel class override:\n\n* PHP Class : `eZCharTransform` - Found by at: `extension/bcurlaliaswithdash/classes/kerneloverride/v2023.03.24/lib/ezutils/classes/ezchartransform.php`\n\n**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).\n\n\nInstallation\n============\n\n### Bundle Installation via Composer\n\nRun the following command from your project root to install the bundle:\n\n    bash$ composer require brookinsconsulting/bcurlaliaswithdash dev-master;\n\n\n### Extension Activation\n\nOptional. Activate this extension by adding the following to your `settings/override/site.ini.append.php`:\n\n    [ExtensionSettings]\n    # \u003csnip existing active extensions list /\u003e\n    ActiveExtensions[]=bcurlaliaswithdash\n\nKernel 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.\n\n\n### Enable eZ Publish Kernel Overrides\n\nKernel class overrides are only able to be used if you add the following to your eZ Publish Legacy config.php configuration file.\n\n    cp -va config.php-RECOMMENDED config.php;\n    # Edit config.php to set 'EZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDE' to true. It should look like this:\n    define( 'EZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDE', true );\n\n\n### Regenerate kernel class override autoloads\n\nRegenerate kernel class override autoloads (Required).\n\n    php ./bin/php/ezpgenerateautoloads.php --kernel-override;\n\n\n### Clear the caches\n\nOptional. Clear eZ Publish Platform / eZ Publish Legacy caches (Required).\n\n    php ./bin/php/ezcache.php --clear-all;\n\n\nUsage\n=====\n\nThe solution is configured to work virtually by default once properly installed.\n\nNote: Once installed. Clear caches and run the bin/php/updateniceurls.php script to convert to urls with dash separators.\n\nNote: This solution depends on the setting, '[URLTranslator] TransformationGroup=urlalias_compat' in site.ini.append.php\n\nNote: 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.\n\n\n\nTroubleshooting\n===============\n\n### Read the FAQ\n\nSome problems are more common than others. The most common ones are listed in the the [doc/FAQ.md](doc/FAQ.md)\n\n\n### Support\n\nIf you have find any problems not handled by this document or the FAQ you can contact Brookins Consulting through the support system: [http://brookinsconsulting.com/contact](http://brookinsconsulting.com/contact)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookinsconsulting%2Fbcurlaliaswithdash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrookinsconsulting%2Fbcurlaliaswithdash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrookinsconsulting%2Fbcurlaliaswithdash/lists"}