Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kematjaya0/wilayah-bundle
Symfony bundle untuk database wilayah di indonesia
https://github.com/kematjaya0/wilayah-bundle
indonesia symfony-bundle symfony5 wilayah
Last synced: 25 days ago
JSON representation
Symfony bundle untuk database wilayah di indonesia
- Host: GitHub
- URL: https://github.com/kematjaya0/wilayah-bundle
- Owner: kematjaya0
- Created: 2021-04-04T18:24:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-30T23:50:13.000Z (about 2 years ago)
- Last Synced: 2024-10-01T15:27:58.573Z (about 1 month ago)
- Topics: indonesia, symfony-bundle, symfony5, wilayah
- Language: PHP
- Homepage:
- Size: 3.28 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wilayah-bundle
Symfony bundle untuk database wilayah di indonesia
1. instalasi
```
composer require kematjaya/wilayah-bundle
```
2. update bundles.php
```
// config/bundles.php
...
Kematjaya\WilayahBundle\WilayahBundle::class => ['all' => true]
...
```
3. update database schema
```
php bin/console doctrine:schema:update --force
```
4. insert data
```
// all data
php bin/console wilayah:insert// provinsi saja
php bin/console wilayah:insert --data=provinsi// provinsi dan kabupaten
php bin/console wilayah:insert --data=provinsi --data=kabupaten
```