PHPackages                             mirzahilmi/siamub-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. mirzahilmi/siamub-auth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

mirzahilmi/siamub-auth
======================

MirzaHilmi/SIAMUB-Auth is a PHP Composer package designed for educational purposes. It allows you to authenticate and retrieve information from the SIAM UB Authentication system, a web authentication system used by college. This package utilizes web scraping techniques and the Guzzle HTTP library to automate the retrieval of data. Please note that this package should only be used responsibly and with proper authorization.

1.1.2(2y ago)338MITPHPPHP &gt;=7.3

Since Jun 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MirzaHilmi/SIAMUB-Auth)[ Packagist](https://packagist.org/packages/mirzahilmi/siamub-auth)[ Docs](https://github.com/MirzaHilmi/SIAMUB-Auth)[ RSS](/packages/mirzahilmi-siamub-auth/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

SIAM UB Authentication
======================

[](#siam-ub-authentication)

This repository contains a project for educational purposes focused on SIAM UB Authentication, which is a web authentication system used by Faculty of Computer Science at Brawijaya University. The project utilizes web scraping techniques to retrieve information from the SIAM UB Authentication system. The implementation is done using PHP and the Guzzle HTTP library.

**Disclaimer:**
Please note that this project is intended solely for educational purposes and to demonstrate web scraping techniques. It should not be used for any malicious activities or unauthorized access to systems. The developers of this project are not responsible for any misuse or illegal actions undertaken by users.

Table of Contents
-----------------

[](#table-of-contents)

- [Introduction](#introduction)
- [Features](#features)
- [Prerequisite](#prerequisite)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

Introduction
------------

[](#introduction)

The SIAM UB Authentication project aims to retrieve information from the SIAM UB Authentication system, which is used for user authentication. The project demonstrates how web scraping techniques can be employed to automate the retrieval of data from web pages.

Features
--------

[](#features)

- \[✅\] Login to the SIAM UB Authentication system using provided credentials.
- \[✅\] Scrape user information, such as name, nim, department, profile picture and others, from the authenticated user profile.
- \[⬜\] Retrieve course information, including course codes, names, and schedules. **Not supported yet.**

Prerequisite
------------

[](#prerequisite)

- [PHP](https://www.php.net/): version 7.3 or higher
- [Guzzle](https://docs.guzzlephp.org/en/stable/): version 6 or higher
- [Composer](https://getcomposer.org/)

Installation
------------

[](#installation)

You can install the SIAM UB Authentication package via Composer. Run the following command in your terminal:

```
composer require mirzahilmi/siamub-auth
```

Usage
-----

[](#usage)

1. Authenticate with user credentials using SIAMUBAuth::authenticate() method:

```
