Skip to content

Commit

Permalink
docs: 更新文档提示
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed May 10, 2023
1 parent a267f3f commit 50d3ce9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,8 @@ echo Pinyin::yuToV()->sentence('旅行', 'none');
你可以使用命令行来实现拼音的转换:

```bash
php ./bin/pinyin 带着希望去旅行

# dài zhe xī wàng qù lyu xíng
php ./bin/pinyin 带着希望去旅行 --method=sentence --tone-style=symbol
# dài zhe xī wàng qù lǚ xíng
```

更多使用方法,可以查看帮助文档:
Expand All @@ -213,13 +212,6 @@ php ./bin/pinyin --help
# -h, --help 显示帮助.
```

示例:

```bash
php ./bin/pinyin 带着希望去旅行 --method=sentence --tone-style=symbol
# dài zhe xī wàng qù lǚ xíng
```

## 在 Laravel 中使用

独立的包在这里:[overtrue/laravel-pinyin](https://github.com/overtrue/laravel-pinyin)
Expand Down

0 comments on commit 50d3ce9

Please sign in to comment.