adereksisusanto / dapodik-api-php
DAPODIK API for PHP
Fund package maintenance!
adereksisusanto
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 2
Language:HTML
Requires
- php: ^7.4|^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.9
- illuminate/collections: ^8.83
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.21.1
- pestphp/pest: ^v1.23
- spatie/ray: ^1.28
This package is auto-updated.
Last update: 2024-11-04 03:17:21 UTC
README
Informasi
Dalam penggunaan API Dapodik berarti Anda secara sadar memberikan data individu setiap entitas Dapodik kepada pihak ketiga. Segala bentuk penyalahgunaan dapat diancam dengan hukuman pidana sesuai dengan UU Perlindungan Data Pribadi No 27 Tahun 2022 Pasal 67. Mohon anda benar-benar telah paham dan yakin akan hal tersebut.
Requirement
Pastikan Dapodik sudah terinstal di komputer Anda atau di VPS.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
composer require adereksisusanto/dapodik-api-php
Usage
// default host & port $dapodik = new Adereksisusanto\DapodikAPI(); // custom host & port $dapodik = new Adereksisusanto\DapodikAPI('custom_host','custom_port'); $auth = $dapodik->login('username', 'password', 'kode_registrasi'); $sekolah = $auth->sekolah(); var_dump($sekolah); $api = $dapodik->api('token', 'npsn'); $sekolah = $api->sekolah(); var_dump($sekolah);
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.