This library is the abstraction of SIASN SIMPEG 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 kanekescom@gmail.com 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-simpeg
You can publish and run the migrations with:
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="siasn-simpeg-config"
Or, all installations can be completed with the install command:
php artisan siasn-simpeg:install
Import pegawai to database via csv file exported from SIASN Export Data ASN
php artisan siasn-simpeg:import-pegawai {filePath}
Import pegawai by truncate data first
php artisan siasn-simpeg:import-pegawai {filePath} --truncate
Pull riwayat pegawai to database from endpoint on SIASN Simpeg API
php artisan siasn-simpeg:pull-riwayat
Pull specific riwayat pegawai to database from endpoint on SIASN Simpeg API
php artisan siasn-simpeg:pull-riwayat angkakredit
You can also use the endpoint
argument to specify only certain endpoints to be pulled
Available endpoints:
- angkakredit
- cltn
- diklat
- dp3
- golongan
- hukdis
- jabatan
- kinerjaperiodik
- kursus
- masakerja
- pemberhentian
- pendidikan
- penghargaan
- pindahinstansi
- pnsunor
- pwk
- skp
- skp22
Use --nipBaru={nipBaru}
option to select only certain pegawai (separated by commas)
Use --skip={number}
option to skip N pegawai
Use --onlyDoesntHave
option to only pegawai those that do not have data. Works if only one endpoint is selected.
Pull PNS data utama to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-pns-data-utama
Use --nipBaru={nipBaru}
option to select only certain pegawai (separated by commas)
Use --skip={number}
option to skip N pegawai
Use --onlyDoesntHave
option to only pegawai those that do not have data
Pull pengadaan list to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-pengadaan-list {tahun}
Pull kp list to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-kp-list {periode}
periode format is yyyy-mm-dd
Pull pemberhentian pensiun list to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-pemberhentian-pensiun-list {tahun}
Pull referensi ref unor to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-referensi-unor
composer test
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.