2017 © Pedro Peláez
 

library cas-min-min-php

CAS UNPAR interface for php

image

chez14/cas-min-min-php

CAS UNPAR interface for php

  • Thursday, July 27, 2017
  • by chez14
  • Repository
  • 3 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

CASMinMin (CAS--)

Packagist Packagist Pre Release GitHub tag GitHub release compatible, (*1)

Dibuat untuk membantu kita fetching data dari sitenya UNPAR yang butuh login terlebih dahulu (CAS)., (*2)

Masih dalam pengembangan, belum jalan semestinya, (*3)

Peringatan

Karena ini bukan official dari BTI, mohon di ingat bahwa code ini tidak selamanya akan bejerja semestinya, mohon buatkan issuenya, (*4)

Cara memulai

Gunakan Composer untuk download package ini... Jangan lupa dump autoloadnya. Kita pake liblary Guzzle buat fetch datanya., (*5)

$ composer require chez14/cas-min-min-php
$ composer dumpautoload --optimize

lalu tambahkan line ini di kodemu., (*6)

include('vendor/autoload.php');

Cara menggunakan

Buat servicenya dulu, baru login-kan pake CASMinMin::login()., (*7)

use Chez14\CASMinMin;
// buat service
$service = new CASMinMin\Services\StudentPortal();
// buat identity
$identity = new CASMinMin\Identity\NPM('2016730011', 'passwordmu123');

// buat CAS Loginer, lalu lakukan login
$cas = new CASMinMin\CASMinMin($service, $identity);
$cas->login();

// ambil clientnya, dan lakukan fetch sendiri
$service_client = $service->get_client();

Sekarang anda dapat menggunakan seluruh fitur dari kelas CASMinMin\Services\StudentPortal., (*8)

Dokumentasi lengkap dari sevice-service yang ada akan di tambahkan segera., (*9)

Kontribusi

Dokumen lengkap bisa di cek di sini., (*10)

Current ToDos

  • Support for Services API.

The Versions

27/07 2017

dev-master

9999999-dev

CAS UNPAR interface for php

  Sources   Download

The Requires

 

by Gunawan Christianto

18/06 2017

v0.2-alpha

0.2.0.0-alpha

CAS UNPAR interface for php

  Sources   Download

The Requires

 

by Gunawan Christianto

26/02 2017

v0.1-alpha

0.1.0.0-alpha

CAS UNPAR interface for php

  Sources   Download

The Requires

 

by Gunawan Christianto