Download the PHP
package azishapidin/indoregion without Composer
On this page you can find all versions of the php package
azishapidin/indoregion. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor azishapidin Package indoregion Short Description Package containing region of Indonesia (provinces, regencies, districts, and villages) for Laravel License
MIT Homepage https://azishapidin.com/
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.
adalah sebuah package Laravel untuk menyimpan data wilayah Indonesia mulai dari Provinsi, Kabupaten/Kota, Kecamatan/Distrik, sampai Desa/Kelurahan. Package akan menambahkan migrations, seeder (untuk import data ke database) dan Model pada project Anda.
Semua data akan disimpan di database, untuk mengambil data tersebut sama dengan mengambil data lewat Model pada umum-nya (Lihat bagian Usage).
Buka Command Line kemudian jalankan perintah dibawah untuk melakukan instalasi package:
Supported Versions
Laravel Version
Version
Composer Installation
8
>= 3
7 & 6
2.2.2
Register Service Provider
Laravel
Jika Anda menggunakan Laravel versi 5.5 keatas Anda bisa skip bagian ini karena package indoregion sudah menggunakan Package Auto Discovery.
Tapi jika kebetulan Project yang Anda kerjakan masih menggunakan versi dibawah 5.5 maka silahkan untuk membuka file config/app.php lalu tambahkan Class kedalam array Service Providers:
Lumen
Jika Anda ingin menggunakan Package ini pada project Lumen, maka Anda harus melakukan register Service Provider pada file dengan menambahkan ini:
Publish File
Jalankan perintah dibawah di Command Line:
Saat perintah diatas dijalankan, indoregion akan menyalin:
Files migration dari ke
Files seeder dari ke
Files model dari ke
Setelah itu jalankan perintah dibawah:
Migrate and Seeder
Jalankan perintah dibawah untuk menjalankan migration dan seeder:
Basic Usage
Anda bisa gunakan class dibawah seperti model pada umum-nya.
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 azishapidin/indoregion 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.