Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tambah alias nama fungsi versi Indonesia (kabupaten(), kecamatan(), desa(), kelurahan()) #29

Closed
uyab opened this issue Aug 24, 2018 · 2 comments

Comments

@uyab
Copy link
Contributor

uyab commented Aug 24, 2018

  • provinsi()
  • kabupaten()
  • kecamatan()
  • desa()
  • kelurahan()
@merakinoya
Copy link

Untuk cara input data kota dari data yang sudah ada bagaimana ya ?

@uyab
Copy link
Contributor Author

uyab commented Oct 16, 2018

Silakan gunakan model-model yang ada di Laravolt\Indonesia\Models.

Contoh:

$city = new \Laravolt\Indonesia\Models\City();
$city->name = 'Sragen';
$city->province_id = 13;
$city->save();

Pada intinya, kamu bisa menggunakan cara apapun yang disupport oleh Eloquent.

@uyab uyab closed this as completed Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants