adereksisusanto/dapodik-api-php

DAPODIK API for PHP

Fund package maintenance!
adereksisusanto

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 2

Language:HTML

1.0.3 2024-08-12 17:24 UTC

README

Latest Version on Packagist Tests Total Downloads

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.