Download the PHP
package wurin7i/id-refs without Composer
On this page you can find all versions of the php package
wurin7i/id-refs. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor wurin7i Package id-refs Short Description Indonesian citizen identity references License
MIT
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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:
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:
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.
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.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package wurin7i/id-refs contains the following files
Loading the files please wait ...
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.