Download the PHP package maftuhichsan/sqlite-wilayah-indonesia without Composer

On this page you can find all versions of the php package maftuhichsan/sqlite-wilayah-indonesia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

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.
Please rate this library. Is it a good library?

Informations about the package sqlite-wilayah-indonesia

🇮🇩 SQLite Wilayah Indonesia

Database SQLite berisi data wilayah administratif Indonesia berdasarkan BPS (Badan Pusat Statistik) yang lengkap:

✅ Provinsi
✅ Kabupaten/Kota
✅ Kecamatan
✅ Desa/Kelurahan
✅ Kode Pos

Data ini berguna untuk aplikasi web, mobile, dan API yang membutuhkan referensi wilayah Indonesia secara hierarki.


🎯 Fitur


📂 Struktur Database

Database records.sqlite berisi tabel:

Relasi antar tabel:


Docker Image

📦 Tersedia Docker Image

🔗 Docker Hub - maftuhichsan/sqlite-wilayah-indonesia

Cara Pull dan Jalankan (Docker Compose)

  1. Tambahkan ke docker-compose.yml:

  2. Jalankan perintah:

  3. Akses file database SQLite di folder ./data/records.sqlite atau sesuai mount volume yang Anda set.

Cara Pull Manual (Tanpa Compose):

Composer

📦 Instalasi via Composer

Paket ini tersedia di Packagist:

🔗 Packagist - maftuhichsan/sqlite-wilayah-indonesia

Cara Install

Jalankan perintah Composer:

composer require maftuhichsan/sqlite-wilayah-indonesia

Setelah itu, Anda bisa menggunakan file database yang ada di dalam vendor path:

vendor/maftuhichsan/sqlite-wilayah-indonesia/database/records.sqlite

⸻

✨ Contoh Penggunaan di PHP (PDO)

⸻

NPM

📦 Instalasi via NPM

Paket ini tersedia di NPM:

🔗 NPM - sqlite-wilayah-indonesia

Cara Install

Jalankan perintah package manager NPM:

npm install sqlite-wilayah-indonesia

⸻

✨ Contoh Penggunaan di Node.js

⸻

🚀 Cara Pakai

1️⃣ Unduh Database

Download file records.sqlite dari repository ini, lalu simpan di project Anda.

2️⃣ Query SQL Langsung

Contoh query SQL dasar:

🌐 Endpoint API :

URL : https://api.kirimin.id

/province

Mengembalikan daftar provinsi.

Contoh: /api/province

/city/{province.id}

Mengembalikan daftar kota.

Contoh: /api/city/33

/sub_district/{city.id}

Mengembalikan daftar Kecamatan.

Contoh: /api/sub_district/3301

/village/{sub_district.id}

Mengembalikan daftar Kelurahan/Desa.

Contoh: /api/village/3372020


All versions of sqlite-wilayah-indonesia with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 maftuhichsan/sqlite-wilayah-indonesia contains the following files

Loading the files please wait ...