PHPackages                             markjtaps/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. markjtaps/login

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

markjtaps/login
===============

A Laravel 11 package that displays a SweetAlert welcome message on user login.

03PHP

Since Nov 10Pushed 6mo agoCompare

[ Source](https://github.com/kamotetaps/markjtaps-login)[ Packagist](https://packagist.org/packages/markjtaps/login)[ RSS](/packages/markjtaps-login/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Markjtaps Login Alert Package for Laravel 11
============================================

[](#markjtaps-login-alert-package-for-laravel-11)

A simple Laravel 11 package that displays a **SweetAlert welcome message** whenever a user logs in.

---

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

[](#installation)

Install the package via Composer (local development):

```
composer require markjtaps/login:@dev --prefer-source

## Setup

Follow these steps to set up the package in your Laravel 11 application:

1. Register Middleware

Add the middleware to your app/Http/Kernel.php file in the web group:

```bash
protected $middlewareGroups = [
    'web' => [
        // ...
        \Markjtaps\Login\Http\Middleware\LoginAlertMiddleware::class,
    ],
];

This middleware sets a session variable with the user’s name on login.

## 2. Include Blade Directive**

Include the Blade directive in your main layout (e.g., resources/views/layouts/app.blade.php):

```bash
@loginAlert

This directive renders the SweetAlert script whenever a user logs in.
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance47

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f13c59861d712ea48dad99a314d89ab5ea14991a608ce8fbbf3f7521552aa11?d=identicon)[markjtaps](/maintainers/markjtaps)

---

Top Contributors

[![kamotetaps](https://avatars.githubusercontent.com/u/176642039?v=4)](https://github.com/kamotetaps "kamotetaps (6 commits)")

### Embed Badge

![Health badge](/badges/markjtaps-login/health.svg)

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

###  Alternatives

[shel/neos-hyphens

A plugin for Neos CMS which provides hyphens for the inline editor

20200.7k1](/packages/shel-neos-hyphens)[zachflower/indefinite-article

Library for programmatically determining the appropriate indefinite article to use (a/an)

11261.9k](/packages/zachflower-indefinite-article)

PHPackages © 2026

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