This library is the abstraction of SIASN REFERENSI for access from applications written with Laravel PHP Framework.
Want to provide tangible support? Use the following platform to contribute to open-source software developers. Every contribution you make is a significant boost to continue building and enhancing technology that benefits everyone.
- Buy Me a Coffee https://s.id/hadibmac
- Patreon https://s.id/hadipatreon
- Saweria https://s.id/hadisaweria
We highly appreciate you sending us a few cups of coffee to accompany us while writing code. Super thanks.
We also offer a professional version. We're excited for you to try it out, as it allows us to consistently deliver high-quality software. Don't hesitate to contact us at [email protected] for further information.
- Laravel SIASN Referensi Panel
- Laravel SIASN SIMPEG Panel
- SIMPEGDA App
You can install the package via composer:
composer require kanekescom/laravel-siasn-referensi
You can publish and run the migrations with:
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="siasn-referensi-config"Or, all installations can be completed with the install command:
php artisan siasn-referensi:install
Pull referensi data from SIASN into the database
php artisan siasn-referensi:pull
Pull specific endpoint referensi data from SIASN into the database
php artisan siasn-referensi:pull agama ... ... ...
Available endpoints:
- agama
- alasan-hukuman-disiplin
- asn-jenis-jabatan
- asn-jenjang-jabatan
- eselon
- golongan
- instansi
- jabatan-fungsional
- jabatan-fungsional-umum
- jenis-anak
- jenis-hukuman
- jenis-jabatan
- kanreg
- kedudukan-hukum
- kel-jabatan
- latihan-struktural
- lokasi
- pendidikan
- ref-dokumen
- ref-jenjang-jf
- satuan-kerja
- tingkat-pendidikan
- jenis-diklat
Get referensi data from API
use Kanekescom\Siasn\Referensi\Referensi; $limit = 10; $offset = 0; // get list of agama Referensi::getAgama([ 'limit' => $limit, 'offset' => $offset, ]); // get list of alasan hukuman disiplin Referensi::getAlasanHukumanDisiplin([ 'limit' => $limit, 'offset' => $offset, ]) // get list of asn jenis jabatan Referensi::getAsnJenisJabatan([ 'limit' => $limit, 'offset' => $offset, ]) // get list of asn jenjang jabatan Referensi::getAsnJenjangJabatan([ 'limit' => $limit, 'offset' => $offset, ]) // get list of eselon Referensi::getEselon([ 'limit' => $limit, 'offset' => $offset, ]) // get list of golongan Referensi::getGolongan([ 'limit' => $limit, 'offset' => $offset, ]) // get list of instansi Referensi::getInstansi([ 'limit' => $limit, 'offset' => $offset, ]) // get list of jabatan fungsional Referensi::getJabatanFungsional([ 'limit' => $limit, 'offset' => $offset, ]) // get list of jabatan fungsional umum Referensi::getJabatanFungsionalUmum([ 'limit' => $limit, 'offset' => $offset, ]) // get list of jenis anak Referensi::getJenisAnak([ 'limit' => $limit, 'offset' => $offset, ]) // get list of jenis diklat Referensi::getJenisDiklat([ 'limit' => $limit, 'offset' => $offset, ]) // get list of jenis hukuman Referensi::getJenisHukuman([ 'limit' => $limit, 'offset' => $offset, ]) // get list of jenis jabatan Referensi::getJenisJabatan([ 'limit' => $limit, 'offset' => $offset, ]) // get list of kanreg Referensi::getKanreg([ 'limit' => $limit, 'offset' => $offset, ]) // get list of kedudukan hukum Referensi::getKedudukanHukum([ 'limit' => $limit, 'offset' => $offset, ]) // get list of kel jabatan Referensi::getKelJabatan([ 'limit' => $limit, 'offset' => $offset, ]) // get list of latihan struktural Referensi::getLatihanStruktural([ 'limit' => $limit, 'offset' => $offset, ]) // get list of lokasi Referensi::getLokasi([ 'limit' => $limit, 'offset' => $offset, ]) // get list of pendidikan Referensi::getPendidikan([ 'limit' => $limit, 'offset' => $offset, ]) // get list of ref dokumen Referensi::getRefDokumen([ 'limit' => $limit, 'offset' => $offset, ]) // get list of ref jenjang jf Referensi::getRefJenjangJf([ 'limit' => $limit, 'offset' => $offset, ]) // get list of satuan kerja Referensi::getSatuanKerja([ 'limit' => $limit, 'offset' => $offset, ]) // get list of tingkat pendidikan Referensi::getTingkatPendidikan([ 'limit' => $limit, 'offset' => $offset, ]);
composer testNeed a package for other BKN's Web Service APIs? Consider installing our packages for seamless integration.
-
https://github.com/kanekescom/laravel-siasn-referensi-api as API client
-
https://github.com/kanekescom/laravel-siasn-referensi as backend
-
https://github.com/kanekescom/laravel-siasn-simpeg-api as API client
-
https://github.com/kanekescom/laravel-siasn-simpeg as backend
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.