kanekescom / laravel-siasn-simpeg
SIASN SIMPEG for Laravel
Fund package maintenance!
achmadhadikurnia
Buymeacoffee
Patreon
Saweria
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.2
- illuminate/contracts: ^10.0|^11.0
- kanekescom/laravel-helperia: ^2.0
- kanekescom/laravel-siasn-api: ^2.0
- kanekescom/laravel-siasn-referensi: ^2.0
- kanekescom/laravel-siasn-simpeg-api: ^2.0
- maatwebsite/excel: ^3.1
- spatie/laravel-fractal: ^6.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- larastan/larastan: ^2.0.1
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.20
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
README
This library is the abstraction of SIASN SIMPEG for access from applications written with Laravel PHP Framework.
Support us
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.
Use pro version
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
Installation
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
Usage
Pegawai
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
Riwayat
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.
PNS
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
Pengadaan
Pull pengadaan list to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-pengadaan-list {tahun}
Pemberhentian
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
Pemberhentian
Pull pemberhentian pensiun list to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-pemberhentian-pensiun-list {tahun}
Referensi
Pull referensi ref unor to database from endpoint on SIASN SIMPEG API
php artisan siasn-simpeg:pull-referensi-unor
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.