kohlercode/slug 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kohlercode/slug

Composer 安装命令:

composer require kohlercode/slug

包简介

Slug - TYPO3 backend module for efficient management of URL slugs across pages and records, focused on SEO, bulk operations, and editorial productivity.

README 文档

README

This TYPO3 backend module helps editors and integrators manage URL slugs efficiently across pages and records. It is designed for SEO-friendly URLs, bulk operations, and clean editorial workflows.

LIKE IT? SUPPORT DEVELOPMENT!

Donate

Your ideas to improve and extend the slug module are more than welcome: send a message

WHO IS THIS FOR?

  • TYPO3 integrators and developers
  • SEO-focused projects with many pages or records
  • Editors who need bulk slug operations

FEATURES LIST

  • Manage URLs for pages and database records
  • Bulk edit and mass save URL values
  • List views filterable with different parameters
  • Search engine preview for pages
  • SEO Module (currently beeing developed)
  • Backend-only, no frontend impact

USAGE

Installation

  • For Composer use composer require kohlercode/slug
  • Download the latest version here: https://extensions.typo3.org/extension/slug/ or install it with the extension manager of your TYPO3 installation
  • No further configuration is required, but you should delete all the backend caches after installation to make sure the extension is working properly.

HOW TO ENABLE CUSTOM EXTBASE RECORDS

Note: To enable custom records functionality, you must add configuration values to your "additional.php" file in the system settings!

Important to know: Editing the slugs works only if the desired table contains a field for the title and a field for the slug. The names of the fields can be determined by PHP in your "additional.php". But be careful. If you use a wrong field, the slug extension can destroy your data. We take no responsibility for it. So it's best not to test in a live web site before.

Very important to know:

  • If you want to use an image symbol, make sure the image exists. The slug extension is currently NOT checking this!
  • You can only use tables that are correctly prepared for TYPO3 use
    • The configuration array $GLOBALS['TCA']['tx_your_table_name']['columns']['your_slug_field']['config'] needs to exist in the TYPO3 system. Otherwise the system will throw errors.
    • The fields crdate,tstamp,uid AND your custom fields for the title and the slug need to exist in your table!

Here's an example code you will need to make a custom table work.

/*
Add this to your global system configuration,
ideally in the file "typo3conf/system/additional.php"
*/

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['slug'] = [
    'settings'=> [
        'defaultSortfield' => 'uid',
        'defaultSortby' => 'ASC',
        'defaultMaxEntries' => 10,
    ],
    'additionalTables' => [
        'tx_news_domain_model_news' => [
            'label' => 'News',
            'slugField' => 'path_segment',
            'titleField' => 'title',
            'pid' => 44,
            'icon' => 'ext-news-type-default' // v14: Use the Icon Identifier!
        ],
    ]
];

KNOWN PROBLEMS

This part will be updated soon, since the extension has been updated recently.

REPORT ISSUES

https://github.com/fullstackfreelancer/slug/issues

ALL OTHER REQUESTS

Contact: https://kohlercode.com/contact

CHANGELOG

See the changelog for more details: https://github.com/fullstackfreelancer/slug/blob/master/CHANGELOG.md

kohlercode/slug 适用场景与选型建议

kohlercode/slug 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 02 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「plugin」 「url」 「extension」 「seo」 「slug」 「tool」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 kohlercode/slug 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 kohlercode/slug 我们能提供哪些服务?
定制开发 / 二次开发

基于 kohlercode/slug 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 30
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2026-02-04