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(9mo ago)019PHPPHP ^8.0

Since Jul 1Pushed 9mo 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 1mo ago

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

30

—

LowBetter than 64% of packages

Maintenance58

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

279d 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

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[stechstudio/laravel-jwt

Helper package that makes it easy to generate, consume, and protect routes with JWT tokens in Laravel

126117.6k](/packages/stechstudio-laravel-jwt)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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