Skip to content

myxiaoao/laravel-str-chinese-macros

Repository files navigation

Laravel Str Chinese Macros

Packagist Version Packagist License GitHub Main Workflow Status

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.

Packages

No packages published

Languages