PHPackages                             erfankatebsaber/bale-otp - 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. erfankatebsaber/bale-otp

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

erfankatebsaber/bale-otp
========================

v1.0.2(11mo ago)019PHPPHP ^8.0

Since Jul 1Pushed 11mo agoCompare

[ Source](https://github.com/ErfKS/bale-otp)[ Packagist](https://packagist.org/packages/erfankatebsaber/bale-otp)[ RSS](/packages/erfankatebsaber-bale-otp/feed)WikiDiscussions main Synced today

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

Getting Started
===============

[](#getting-started)

install package
---------------

[](#install-package)

run this command:

```
composer erfankatebsaber/bale-otp
```

define provider
---------------

[](#define-provider)

Add this line in `config/app.php`:

```
return [
    // other props...
    'providers' => ServiceProvider::defaultProviders()->merge([
        // other providers...
        ErfanKatebSaber\BaleOtp\BaleOtpProvider::class
    ])->toArray(),
];
```

Publish files (optional)
------------------------

[](#publish-files-optional)

Run this command to publish config files:

```
php artisan vendor:publish --provider="ErfanKatebSaber\BaleOtp\BaleOtpProvider"
```

ENV
---

[](#env)

Define this:

```
BALE_OTP_USERNAME=[YOUR USERNAME]
BALE_OTP_PASSWORD=[YOUR PASSWORD]
```

Send Otp
--------

[](#send-otp)

Use this code:

```
use \ErfanKatebSaber\BaleOtp\BaleOtp;

BaleOtp::setUp()->sendOtp(
    "989123456789", // phone number with international prefix
    '12345' // otp code
)
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance52

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~18 days

Total

3

Last Release

332d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90b71c4f037855dd28e1aa19bc729ae990a1c2423fe05e624d4d860248cd8cef?d=identicon)[Erfan Kateb Saber](/maintainers/Erfan%20Kateb%20Saber)

---

Top Contributors

[![ErfKS](https://avatars.githubusercontent.com/u/81411642?v=4)](https://github.com/ErfKS "ErfKS (8 commits)")

### Embed Badge

![Health badge](/badges/erfankatebsaber-bale-otp/health.svg)

```
[![Health](https://phpackages.com/badges/erfankatebsaber-bale-otp/health.svg)](https://phpackages.com/packages/erfankatebsaber-bale-otp)
```

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)[althinect/filament-spatie-roles-permissions

3481.1M10](/packages/althinect-filament-spatie-roles-permissions)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6804.7k6](/packages/hasinhayder-tyro)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.2k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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