PHPackages                             lotous-organization/laravel-login - 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. lotous-organization/laravel-login

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

lotous-organization/laravel-login
=================================

Simple laravel login

v1.0.1(9mo ago)041MITPHP

Since Aug 1Pushed 9mo agoCompare

[ Source](https://github.com/LotousOrganization/laravel-login)[ Packagist](https://packagist.org/packages/lotous-organization/laravel-login)[ RSS](/packages/lotous-organization-laravel-login/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Laravel Login Package
---------------------

[](#laravel-login-package)

This package provides a simple and secure login system for Laravel applications. It includes OTP verification and user authentication using Laravel Passport, with integration for Kavenegar for OTP sending and Sentry for error tracking.

### Installation

[](#installation)

To install the package, follow these steps:

1. Install the package via Composer:

    ```
    composer require lotous-organization/laravel-login:"dev-master"
    ```
2. Add the required environment variables to your `.env` file:

    ```
    # Constants for OTP settings
    OTP_TOKEN_EXPIRE_SECONDS=180
    OTP_TOKEN_NUM_DIGITS=6

    # Kavenegar API settings
    KAVENEGAR_API_KEY=""
    KAVENEGAR_TEMPLATE=""

    # Sentry configuration
    SENTRY_LARAVEL_DSN=""
    SENTRY_TRACES_SAMPLE_RATE=1.0
    ```
3. Add the `LoginServiceProvider` class to the providers array in your `config/app.php` file:

    ```
    'providers' => [
        // Other Service Providers
        LotousOrganization\LaravelLogin\LoginServiceProvider::class,
    ],
    ```
4. Run the migrations to set up the necessary database tables:

    ```
    php artisan migrate
    ```
5. Configure Laravel Passport:

    ```
    php artisan passport:install
    ```

With these steps completed, your Laravel application is now equipped with a secure login system integrated with OTP verification.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance57

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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 ~0 days

Total

2

Last Release

284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61b3837a9909f443744230591408793f3913e162f6e996a8e4f607c09dfbcf39?d=identicon)[Esmaeeli1923](/maintainers/Esmaeeli1923)

---

Top Contributors

[![usermp](https://avatars.githubusercontent.com/u/39251365?v=4)](https://github.com/usermp "usermp (17 commits)")

### Embed Badge

![Health badge](/badges/lotous-organization-laravel-login/health.svg)

```
[![Health](https://phpackages.com/badges/lotous-organization-laravel-login/health.svg)](https://phpackages.com/packages/lotous-organization-laravel-login)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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