laravel-str-chinese-macros maintained by cooper
Laravel Str Chinese Macros
Illuminate\Support\Str 中文拓展包
使用方法
- parseAddress
解析中文地址 - isChinese
是否是中文
安装
使用 Composer 安装
composer require cooper/laravel-str-chinese-macros
例子
<?php
use Illuminate\Support\str;
Str::parseAddress('广东省深圳市南山区南海大道2163号');
License
The MIT License (MIT). Please see License File for more information.