Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laravel-admin-extensions/id-validator
验证中国大陆居民身份证、港澳居民居住证以及台湾地区居民居住证
https://github.com/laravel-admin-extensions/id-validator
Last synced: about 1 month ago
JSON representation
验证中国大陆居民身份证、港澳居民居住证以及台湾地区居民居住证
- Host: GitHub
- URL: https://github.com/laravel-admin-extensions/id-validator
- Owner: laravel-admin-extensions
- License: mit
- Created: 2018-11-05T15:17:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T03:20:34.000Z (about 5 years ago)
- Last Synced: 2024-09-25T16:50:39.257Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 34
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - id-validator - 验证中国大陆居民身份证、港澳居民居住证以及台湾地区居民居住证 (扩展包 / 工具类扩展包)
README
身份证验证
======这个扩展基于[jxlwqq/id-validator](https://github.com/jxlwqq/id-validator),用来验证中国大陆居民身份证、港澳居民居住证以及台湾地区居民居住证,输入证件号码查询后,如果身份证号合法,下方会显示分析信息(地区、出生日期、星座、生肖、性别、校验位),如果不合法则下面显示一个异常提示
## 截图
![wx20181105-231239](https://user-images.githubusercontent.com/1479100/48006400-55ec8f80-e150-11e8-8ed9-6e6ee14aff03.png)
## 安装
```bash
composer require laravel-admin-ext/id-validator
```然后运行下面的命令在后台左侧菜单增加一个入口链接:
```bash
php artisan admin:import id-validator
```打开`http://lcoalhost/admin/id-validator`即可使用。
License
------------
Licensed under [The MIT License (MIT)](LICENSE).