cooper/laravel-str-chinese-macros

Laravel Str Chinese Macros

0.0.1 2022-05-09 07:15 UTC

This package is auto-updated.

Last update: 2024-11-29 06:47:27 UTC


README

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.