Download the PHP package basoro/api-wilayah without Composer

On this page you can find all versions of the php package basoro/api-wilayah. 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 api-wilayah

API Data Wilayah Indonesia

Repository ini berisi source code untuk generate (REST) API statis berisi data wilayah Indonesia serta perintah untuk mendeploynya ke static hosting Github Page.

Demo: https://emsifa.github.io/api-wilayah-indonesia

Apa yang dimaksud API statis?

API statis adalah API yang endpoint-nya terdiri dari file statis.

Keuntungan API statis?

Bagaimana cara kerjanya?

Saya mau hosting di Github saya sendiri, bagaimana caranya?

ENDPOINTS

1. Mengambil Daftar Provinsi

Contoh Response:

2. Mengambil Daftar Kab/Kota pada Provinsi Tertentu

Contoh untuk mengambil daftar kab/kota di provinsi Aceh (ID = 11):

Contoh Response:

3. Mengambil Daftar Kecamatan pada Kab/Kota Tertentu

Contoh untuk mengambil daftar kecamatan di Aceh Selatan (ID = 1103):

Contoh Response:

4. Mengambil Daftar Kelurahan pada Kecamatan Tertentu

Contoh untuk mengambil daftar kelurahan di Trumon (ID = 1103010):

Contoh Response:

5. Mengambil Data Provinsi berdasarkan ID Provinsi

Contoh untuk mengambil data provinsi Aceh (ID = 11):

Contoh Response:

6. Mengambil Data Kab/Kota berdasarkan ID Kab/Kota

Contoh untuk mengambil data kabupaten Aceh Selatan (ID = 1103):

Contoh Response:

7. Mengambil Data Kecamatan berdasarkan ID Kecamatan

Contoh untuk mengambil data kecamatan Trumon Timur (ID = 1103011):

Contoh Response:

8. Mengambil Data Kelurahan berdasarkan ID Kelurahan

Contoh untuk mengambil data kelurahan Jambo Dalem (ID = 1103011010):

Contoh Response:

LIMITASI

Karena API ini dihosting di Github Page, Github Page sendiri memberikan batasan bandwith 100GB/bulan. Rata-rata endpoint disini memiliki ukuran 1KB/endpoint, jadi kurang lebih request yang dapat digunakan adalah 100.000.000 request per bulan, atau sekitar 3.000.000 request/hari.

Karena limitasi ini, disarankan untuk hosting API ini di github kamu sendiri.

Untuk lebih detail tentang limitasi Github Page, bisa dilihat disini.


All versions of api-wilayah with dependencies

PHP Build Version
Package Version
No informations.
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 basoro/api-wilayah contains the following files

Loading the files please wait ....