Update README.md

这个提交包含在:
小小白哦
2026-07-25 10:56:03 +08:00
提交者 GitHub
父节点 c38b355f1d
当前提交 394031abfa
+5 -5
查看文件
@@ -1,6 +1,6 @@
# ID Slug
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Xiaoxiaobai5724/id-slug/blob/2.x/LICENSE.md) [![Latest Stable Version](https://img.shields.io/packagist/v/Xiaoxiaobai5724/id-slug.svg)](https://packagist.org/packages/Xiaoxiaobai5724/id-slug) [![Total Downloads](https://img.shields.io/packagist/dt/Xiaoxiaobai5724/id-slug.svg)](https://packagist.org/packages/Xiaoxiaobai5724/id-slug)
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Xiaoxiaobai5724/id-slug/blob/2.x/LICENSE.md) [![Latest Stable Version](https://img.shields.io/packagist/v/Xiaoxiaobai5724/id-slug.svg)](https://packagist.org/packages/xxb5724/id-slug) [![Total Downloads](https://img.shields.io/packagist/dt/Xiaoxiaobai5724/id-slug.svg)](https://packagist.org/packages/xxb5724/id-slug)
---
@@ -16,7 +16,7 @@ A [Flarum](https://flarum.org) extension. Use `id` as the `slug` in the discussi
### Installation
```sh
composer require xxb/id-slug
composer require xxb5724/id-slug
```
> **Migrating from pipecraft/flarum-ext-id-slug**
@@ -24,13 +24,13 @@ This extension was transferred to XXB and was previously published as `pipecraft
For forum admins, migration is a one-line change — swap the package, keep your settings and stored SEO data:
```sh
composer remove pipecraft/flarum-ext-id-slug
composer require xxb/id-slug
composer require xxb5724/id-slug
php flarum cache:clear
```
### Updating
```sh
composer update xxb/id-slug
composer update xxb5724/id-slug
```
### How to Use
@@ -40,4 +40,4 @@ composer update xxb/id-slug
### Notice
- If you are using the sitemap(fof/sitemap) extension, you need to upgrade to v1.0.1 or above. [Use Slug Driver system properly](https://github.com/FriendsOfFlarum/sitemap/issues/30)
- If you are using the sitemap(fof/sitemap) extension, you need to upgrade to v1.0.1 or above. [Use Slug Driver system properly](https://github.com/FriendsOfFlarum/sitemap/issues/30)