PHPackages                             onnysan/device-security - 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. [Security](/categories/security)
4. /
5. onnysan/device-security

ActiveLibrary[Security](/categories/security)

onnysan/device-security
=======================

modul sekuriti untuk mendeteksi perangkat

v0.0.2(6y ago)023MITPHP

Since May 28Pushed 6y agoCompare

[ Source](https://github.com/onnyprima/device-security)[ Packagist](https://packagist.org/packages/onnysan/device-security)[ RSS](/packages/onnysan-device-security/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Device Security Checker
=======================

[](#device-security-checker)

Device Security Checker adalah library php untuk pengecekan berdasarkan physical device ID(ex: Mac Address), ID Akun Aplikasi(ex: Username) atau kombinasi antar physical dan akun apakah perangkat sudah terdaftar dan diperbolehkan untuk mengakses aplikasi lebih lanjut.

Features!
=========

[](#features)

- Cek ID Perangkat, ID Akun, Akun dan Perangkat.
- Support Beberapa vendor Database(menggunakan Doctrine ORM) : - SQL Server (tested) - MySql (Untested) - Etc (Untested)

You can also (next):

- Import Data from Excel( dengan pola template terstandard)
- Export data to Excel
- Session management : - get expired token - auto update expired token

### Tech

[](#tech)

Device Security Checker uses a number of open source projects to work properly:

- \[doctrine/orm\] - The Doctrine Project is the home to several PHP libraries primarily focused on database storage and object mapping.
- \[symfony/validator\] - The Symfony validator is a powerful tool that can be leveraged to guarantee that the data of any object is "valid".
- \[doctrine/annotations\] - Docblock Annotations Parser library (extracted from Doctrine Common).

### Installation

[](#installation)

Device Security Checker requires [PHP](https://php.net/) 5.6.+ to run. Composer Installed.

Install the dependencies and devDependencies and start the server.

```
$ cd yourproject
$ composer require onnysan/device-security
$ composer dump-autoload -o
```

### Basic Usage

[](#basic-usage)

use `Security\Lib\Services\Security` untuk menginisialisasi class `Security` didalam class ada beberapa fungsi untuk mengecek ID Perangkat dan ID akun.

- Cek perangkat

```
