Giter VIP home page Giter VIP logo

id-refs's Introduction

ID-Refs: Indonesian Citizen Identity References

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 ^9.0 or ^10.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 ([email protected])

id-refs's People

Contributors

wurin7i avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.