承接 simbiat/translit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

simbiat/translit

最新稳定版本:1.2.0+20210129

Composer 安装命令:

composer require simbiat/translit

包简介

Various helpers for working with strings

README 文档

README

\Simbiat\HTTP\Convert::pretty(string $string, string $whitespace = '-', bool $url_safe = true);

Function transliterates lots of characters and makes a safe and pretty URL. This is intended more as a SEO thing, rather than sanitization.

Includes the majority (if not all) of diacritics (accented characters), cyrillic, hiragana, katakana, arabic, chinese characters. They are replaced by Latin characters or combinations that are representing how they are pronounced, officially romanized or the closest neighbors in terms of how a character is drawn.

It also allows replacing whitespace characters with a character of your choosing (hyphen as default).

If $url_safe is set to true, some characters will be removed as well, because they can "break" the URL. Some of them are valid for a URI, but they are not good for SEO links.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2025-07-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固