Download the PHP package novay/wilayah-module without Composer
On this page you can find all versions of the php package novay/wilayah-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download novay/wilayah-module
More information about novay/wilayah-module
Files in novay/wilayah-module
Package wilayah-module
Short Description Module Laravel yang berisi data Provinsi, Kabupaten/Kota, Kecamatan dan Kelurahan/Desa di seluruh Indonesia.
License
Informations about the package wilayah-module
Data Wilayah Indonesia
Modul Laravel ini berisi data Provinsi, Kabupaten/Kota, Kecamatan dan Kelurahan/Desa di seluruh Indonesia. Data wilayah yang ada pada modul ini diambil dari laravolt/indonesia yang bersumber dari edwardsamuel/Wilayah-Administratif-Indonesia.
- Requirements
- Installation
- Install Package via Composer
- Usage
- Linked Helpers
- Helpers
- Enable Logo
- License
Requirements
Installation
Install Package Via Composer
Usage
php artisan module:migrate Wilayah
php artisan module:seed Wilayah
Linked Helpers
Gak tau kenapa helpers bawaan Modules gak fungsi, jadi mesti di register manual.
Helpers
provinsi()->get()
kota()->find($id)
kecamatan()->whereNama('Sungai Kunjang')->first()
kelurahan()->paginate(10)
logo($id)
Untuk full url logo.$id
adalah id provinsi atau kota.
Enable Logo
Karena masalah waktu download package yang terlalu lama. Untuk versi terbaru tidak di includekan file logo. Tetapi dipanggil melalui CDN.
Bila ingin menggunakan package sekaligus file Logonya bisa install package versi 2.0 :
- Lalu jalankan perintah artisan berikut melalui command prompt atau terminal:
License
Wilayah Modules is licensed under the MIT license for both personal and commercial products. Enjoy!
Last Tested on Laravel 8