Looking to hire Laravel developers? Try LaraJobs

laravel-str-chinese-macros maintained by cooper

Description
Laravel Str Chinese Macros
Author
Last update
2023/01/29 08:16 (dev-master)
License
Links
Downloads
7

Comments
comments powered by Disqus

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.