wurin7i/id-refs 问题修复 & 功能扩展

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

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

wurin7i/id-refs

最新稳定版本:v0.3.0

Composer 安装命令:

composer require wurin7i/id-refs

包简介

Indonesian citizen identity references

README 文档

README

Tests codecov Packagist Version License PHP Version Laravel

Description

This library provides a collection of references and utilities related to Indonesian citizen identity documents, such as KTP (Kartu Tanda Penduduk) and KK (Kartu Keluarga). It aims to simplify the process of working with these identifiers in your PHP applications.

Installation

The recommended installation method is via Composer:

composer require wurin7i/id-refs

This will install the library and its dependencies into your project's vendor directory.

Requirements

  • PHP 8.1 and above
  • illuminate/support ^10.0|^11.0|^12.0

Usage

Once installed, you can use the library's classes and functions to interact with Indonesian citizen identity references. Refer to the detailed documentation (coming soon) for specific usage instructions.

Database Seeders

The library may include database seeders located in the database/seeders directory. These seeders can be used to populate your database with reference data. To run the seeders, you'll need to configure your database connection and use a command-line tool like Laravel's Artisan:

php artisan db:seed --class=WuriN7i\\IdRefs\\Database\\Seeders\\ReferenceDataSeeder

Populating Regions Data

IdRefs library offer a command idrefs:update-data to update your database with Kemendagri regions data. The sql source is retrieved from the cahyadsn/wilayah GitHub repository.

php artisan idrefs:update-data

Contributing

We welcome contributions to this library. Please see the CONTRIBUTING.md file (to be added) for guidelines on how to contribute.

License

This library is licensed under the MIT License. See the LICENSE file for details.

Author

Wuri Nugrahadi (wuri.nugrahadi@gmail.com)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-10