Download the PHP package tourze/user-id-idcard-bundle without Composer
On this page you can find all versions of the php package tourze/user-id-idcard-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tourze/user-id-idcard-bundle
More information about tourze/user-id-idcard-bundle
Files in tourze/user-id-idcard-bundle
Download tourze/user-id-idcard-bundle
More information about tourze/user-id-idcard-bundle
Files in tourze/user-id-idcard-bundle
Vendor tourze
Package user-id-idcard-bundle
Short Description 用户身份证验证模块,提供身份证号码的存储、验证和管理功能
License MIT
Package user-id-idcard-bundle
Short Description 用户身份证验证模块,提供身份证号码的存储、验证和管理功能
License MIT
Please rate this library. Is it a good library?
Informations about the package user-id-idcard-bundle
User ID Idcard Bundle
中文
A Symfony bundle that provides Chinese ID card identity verification functionality as an extension to the user identity system.
Features
- Chinese ID card identity management
- Integration with user identity system
- Doctrine ORM entity for ID card storage
- Service decorator pattern for extensibility
- Snowflake ID generation support
- Timestamp and blame tracking
Installation
Requirements
- PHP 8.1+
- Symfony 6.4+
- Doctrine ORM 3.0+
Dependencies
tourze/user-id-bundle: Base identity systemtourze/doctrine-snowflake-bundle: Snowflake ID generationtourze/doctrine-timestamp-bundle: Timestamp trackingtourze/doctrine-user-bundle: User blame tracking
Quick Start
1. Enable the Bundle
Add the bundle to your config/bundles.php:
2. Update Database Schema
3. Basic Usage
Configuration
This bundle extends the tourze/user-id-bundle and requires no additional
configuration. It automatically decorates the UserIdentityService to handle
ID card identities.
Advanced Usage
Custom Validation
You can extend the ID card validation by creating custom validators:
Service Integration
Entity Structure
The IdcardIdentity entity includes:
id: Snowflake ID (primary key)idcard: Chinese ID card number (18 digits)user: Reference to user entitycreateTime: Creation timestampupdateTime: Last update timestampcreateBy: User who created the recordupdateBy: User who last updated the record
License
MIT
All versions of user-id-idcard-bundle with dependencies
PHP Build Version
Package Version
Requires
doctrine/dbal Version
^4.0
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
easycorp/easyadmin-bundle Version ^4
knplabs/knp-menu Version ^3.7
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/security-core Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/doctrine-snowflake-bundle Version 1.0.*
tourze/doctrine-timestamp-bundle Version 1.0.*
tourze/doctrine-user-bundle Version 1.0.*
tourze/easy-admin-menu-bundle Version 1.0.*
tourze/user-id-bundle Version 1.0.*
doctrine/doctrine-bundle Version ^2.13
doctrine/orm Version ^3.0
doctrine/persistence Version ^4.1
easycorp/easyadmin-bundle Version ^4
knplabs/knp-menu Version ^3.7
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/doctrine-bridge Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/security-core Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/doctrine-snowflake-bundle Version 1.0.*
tourze/doctrine-timestamp-bundle Version 1.0.*
tourze/doctrine-user-bundle Version 1.0.*
tourze/easy-admin-menu-bundle Version 1.0.*
tourze/user-id-bundle Version 1.0.*
The package tourze/user-id-idcard-bundle contains the following files
Loading the files please wait ...