定制 b13/masi 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

b13/masi

Composer 安装命令:

composer require b13/masi

包简介

TYPO3 Extend URL generation to optionally include storage folders.

README 文档

README

Masi is the missing piece for the people who want to customize everything when generating URLs in TYPO3 v10+.

Features

  1. TYPO3 v10 skips pages of type "SysFolder" and "Spacers" by default when generating the URL of subpages. masi includes them by default!

  2. masi also ships with a new checkbox for pages, to exclude a certain page slug when generating subpages. This way, you can exclude only certain SysFolders.

There is a CLI command to migrate the options from RealURL to the masi database field.

  1. masi evaluates PageTSconfig where you can override your values.

     TCEMAIN.pages.slug.generatorOptions {
         fields = company, city
         fieldSeparator = -
     }
    
  2. masi allows you to set a hard prefix (!) for a specific page tree via PageTS:

     TCEMAIN.pages.slug.generatorOptions {
         prefix = /wishlist/
     }
    

    Any prefix is added BEFORE the parent page prefix, but you can also disable the option "prefixParentPageSlug"

     TCEMAIN.pages.slug.generatorOptions {
         prefixParentPageSlug = 0
     }
    

Of course, all the values within the "slug" field can be changed by the editor, but it's here for convenience.

Installation

Use it via composer req b13/masi or install the Extension masi from the TYPO3 Extension Repository.

masi requires TYPO3 v10.4.0 or later.

If you want to migrate from RealURL, execute this one-time command as long as the database field pages.tx_realurl_exclude exists, and transfers the data to pages.exclude_slug_for_subpages:

`vendor/bin/typo3 database:migrate:masi`

There is also an upgrade wizard for the Installer to execute the same functionality via the Upgrade Tool of TYPO3's Installer.

License

As TYPO3 Core, masi is licensed under GPL2 or later. See the LICENSE file for more details.

Background, Authors & Further Maintenance

This extension was created as a show-case on what you can do with one magic hook for TYPO3 v10 and customize so many things.

TYPO3 community often requests functionality, which can be put in small and efficient extensions, and masi does exactly that, without having to burden everything into TYPO3 Core.

masi was initially created by Benni Mack in 2019, for b13, Stuttgart, with the nice support from Martin Kutschker.

Find more TYPO3 extensions we have developed that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.

b13/masi 适用场景与选型建议

b13/masi 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 321.02k 次下载、GitHub Stars 达 24, 最近一次更新时间为 2019 年 08 月 23 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 321.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 24
  • 点击次数: 36
  • 依赖项目数: 1
  • 推荐数: 2

GitHub 信息

  • Stars: 24
  • Watchers: 12
  • Forks: 15
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2019-08-23