PHPackages                             werify/id-laravel - 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. werify/id-laravel

ActiveLibrary

werify/id-laravel
=================

werify id pacakge for laravel.

4109[10 issues](https://github.com/Werify/id-laravel/issues)PHP

Since Apr 23Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Werify/id-laravel)[ Packagist](https://packagist.org/packages/werify/id-laravel)[ RSS](/packages/werify-id-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Id/Laravel
==========

[](#idlaravel)

**[id/laravel](https://github.com/Werify/id-laravel)** is a library for connecting with Werify id (see more ).

Requirements
------------

[](#requirements)

- PHP 8.0 and above.
- Built-in libcurl support.
- Laravel 7

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

[](#installation)

For running this example, you need to install `werify/id-laravel` library before. It can be done by two different methods:

### 1. Using Composer

[](#1-using-composer)

You can install the library via [Composer](https://getcomposer.org/). If you don't already have Composer installed, first install it by following one of these instructions depends on your OS of choice:

- [Composer installation instruction for Windows](https://getcomposer.org/doc/00-intro.md#installation-windows)
- [Composer installation instruction for Mac OS X and Linux](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

After composer is installed, Then run the following command to install the Omise-PHP library:

```
php composer.phar install

```

Please see configuration section below for configuring your Omise Keys.

### 2. Manually

[](#2-manually)

If you're not using Composer, you can also clone `werify/id-laravel` repository into the directory of sample code that you just installed this repository:

```
git clone https://github.com/Werify/id-laravel

```

However, using Composer is recommended as you can easily keep the library up-to-date. After cloning the repository, you need to replace line 3 in `config.php` from

```
3: require_once 'vendor/autoload.php';
```

to

```
3: require_once 'werify/id-laravel';
```

Please see configuration section below for configuring your Omise Keys.

Configuration
-------------

[](#configuration)

After you installed `werify/id-laravel` library already. Next, you need to **configure** id-laravel. you can publish configuration files and see config in `config/auth-service` config file.

Usage
-----

[](#usage)

this package publishes routes and jobs to connect to werify id service.

#### jobs

[](#jobs)

jobs published under `Werify\IdLaravel\Jobs` namespace are :

- GetUserProfileJob
- GetUserProfileFinancialInformationJob
- GetUserProfileMetasJob
- GetUserProfileNumbersJob
- RequestOTPJob
- VerifyOTPJob
- GetUserProfileEducationJob

#### Routes

[](#routes)

- GET|HEAD api/werify/request-otp
- GET|HEAD api/werify/verify-otp

##### request otp:

[](#request-otp)

route: api/werify/request-otp params:

- identifier (string)

response:

- id (string)
- hash(string)
- otp(string)

##### verify otp:

[](#verify-otp)

route: api/werify/verify-otp params:

- id (string)
- hash(string)
- otp(string)

response:

- user info and access\_token

changelog
---------

[](#changelog)

##### 2022/04/07 :

[](#20220407-)

- updated readme file
- package added in packagist

##### 2022/04/05 :

[](#20220405-)

- init
- routes for request and verify otp
- jobs for get profile information

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/04feaa2593791aa33d3011f79406563fb017e047089ec42b1f166f6b9e36176a?d=identicon)[werify](/maintainers/werify)

---

Top Contributors

[![arashrasoulzadeh](https://avatars.githubusercontent.com/u/1297307?v=4)](https://github.com/arashrasoulzadeh "arashrasoulzadeh (20 commits)")[![briofy-hosein](https://avatars.githubusercontent.com/u/126397746?v=4)](https://github.com/briofy-hosein "briofy-hosein (1 commits)")[![t4-muhammad](https://avatars.githubusercontent.com/u/124201331?v=4)](https://github.com/t4-muhammad "t4-muhammad (1 commits)")

### Embed Badge

![Health badge](/badges/werify-id-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/werify-id-laravel/health.svg)](https://phpackages.com/packages/werify-id-laravel)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
