marcin-orlowski/polish-ids-faker 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marcin-orlowski/polish-ids-faker

Composer 安装命令:

composer require marcin-orlowski/polish-ids-faker

包简介

FakerPHP provider for generating various IDs used in Poland

README 文档

README


   █▀▀▄      ▀█   ▀       █        ▀█▀ █▀▀▄          █▀▀▀      █
   █  █ ▄▀▀▄  █  ▀█  ▄▀▀▄ █▀▀▄      █  █  █ ▄▀▀▄     █▀▀  ▄▀▀▄ █ ▄▀ ▄▀▀▄ █▄▀
   █▀▀  █  █  █   █   ▀▄  █  █      █  █  █  ▀▄      █     ▄▄█ █▀▄  █▀▀  █
   █    ▀▄▄▀ ▄█▄ ▄█▄ ▀▄▄▀ █  █     ▄█▄ █▄▄▀ ▀▄▄▀     █    ▀▄▄▀ █  █ ▀▄▄▀ █

Faker generators for various Polish IDs

Data provider for various IDs used in Poland as NIP, PESEL, REGON, and others so you can easily generate fake data for testing and development purposes.

Installation

composer require --dev marcin-orlowski/polish-ids-faker

Generators

This extensions provides following generators:

nip(): string

Produces a valid NIP number in various formats.

Arguments

Argument Type Default Description
$grouping NipGrouping RANDOM Specifies format of the generated NIP. See NipGrouping.php for details.

pesel(): string

Generates a valid Polish PESEL number.

Arguments

Argument Type Default Description
$gender PeselGender RANDOM Enforces PESEL for person of specific gender. See PeselGender.php for details.
$birthDate ?\DateTimeInterface null Optional specific date of birth. If null, a random date is generated.

regon(): string

Generates a valid 14-digit long Polish REGON number.

Arguments

None

kodPocztowy(): string

Generates a valid 6 character long Polish Zip code number.

Arguments

None

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固