Download the PHP package anomalylab/component-identity-card without Composer
On this page you can find all versions of the php package anomalylab/component-identity-card. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anomalylab/component-identity-card
More information about anomalylab/component-identity-card
Files in anomalylab/component-identity-card
Download anomalylab/component-identity-card
More information about anomalylab/component-identity-card
Files in anomalylab/component-identity-card
Vendor anomalylab
Package component-identity-card
Short Description A simple proof of identity card of the people's Republic of China.
License MIT
Homepage https://ofcold.com
Package component-identity-card
Short Description A simple proof of identity card of the people's Republic of China.
License MIT
Homepage https://ofcold.com
Please rate this library. Is it a good library?
Informations about the package component-identity-card
China (region) citizen ID card tool
Simplified Chinese Documentation
China (Mainland) ID card package, the data from the national standard
GB/T 2260-2007
(People's Republic of China administrative divisions code standard).
Other Language
Installing
Instructions
A component based on People's Republic of China citizen ID card to obtain the user information.This works for any php framework, but only if the php version is greater than 7.1.
Useing
Useing in Laravel Validation
Multi-language add
Please enter a valid Id Card
to your json language package.
Verify your Chinese ID card
OR test file.
Results:
Api
- getArea() : string
Get Area
- getConstellation() : string
Get constellation
- getZodiac() : string
Get zodiac
- getAge() : int
Get age
- getBirthday(string $foramt = 'Y-m-d') : string
Get birthday
- getGender() : string
Get gender
- getCounty() : string|null
Get county
- getCity() : string|null
Get city
- getProvince() : string|null
Get province
- toArray() : array
Get all information.
- toJson(int $option) : string
Json format all information
- __get() : mixed
- __toString() : toJson
CHANGELOG
V3.0.0
- Added Laravel Rule.
V2.0.0
All versions of component-identity-card with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
The package anomalylab/component-identity-card contains the following files
Loading the files please wait ....