PHPackages                             brightweb/authentication - 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. brightweb/authentication

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

brightweb/authentication
========================

Advanced authentication package for Laravel 11+ and PHP 8+

v1.0.0(2y ago)23MITPHP

Since May 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Bright11/laravel-b-authentication-package)[ Packagist](https://packagist.org/packages/brightweb/authentication)[ RSS](/packages/brightweb-authentication/feed)WikiDiscussions main Synced 2w ago

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

BrightWeb Authentication Package
--------------------------------

[](#brightweb-authentication-package)

Wecome to Brightweb Authentication package for Laravel! This package is designed to streamline the authentication process, providing robust middleware for securing both admin and user-specific routes, as well as customizable authentication views.

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

[](#installation)

To install the Brightweb Authentication package, simply use composer:

composer require brightweb/authentication
-----------------------------------------

[](#composer-require-brightwebauthentication)

Migration
---------

[](#migration)

Make sure to run migration or rerun migration for users table to be updated with role.

php artisan migrate

if you have already done the above messioned use

php artisan migrate:fresh

Middleware
----------

[](#middleware)

This package comes with two built-in middleware 'admin' and 'user'.

This middleware can be used to secure different parts of your application based on user roles.

Admin Middleware
----------------

[](#admin-middleware)

To secure your admin pages, use the 'admin' middleware as shown below:

Route::middleware(\['web', 'admin'\])-&gt;group(function () { // Your admin routes here });

User Middleware
---------------

[](#user-middleware)

To secure pages such as the cart page and user profile page, use th 'user' middleware as shown below:

Route::middleware(\['web', 'user'\])-&gt;group(function () { // Your user routes here });

Custom Authentication Views
---------------------------

[](#custom-authentication-views)

The package includes customizable authentication views that you can publish and modify to your application's design requirements. We call this feature 'brightwebauthconfig'. with this, you can change background and text colors in your config/brightwebauthconfig.php after Publishing config files

Publishing config files
-----------------------

[](#publishing-config-files)

php artisan vendor:publish --tag=brightwebauthconfig

Authentication URLS
-------------------

[](#authentication-urls)

This package provides predifined routes for registration,login and logout:

Register: '/register'

Login: '/login'

Logout: '/logout'

These routes are ready to use out of the box, simplifying the setup process.

Conclusion
----------

[](#conclusion)

The Brightweb Authentication package offers a seamless and powerfull solution for managing authentication in your Laravel application.

With easy installation, robust security, middleware, and customizatable views, you can quickly set up a secure and user-frendly authentication system.

Get started today and take your Laravel applications authentication to the next level

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](/https://opensource.org/license/).

Contributing
------------

[](#contributing)

We welcome contributions to enhance this package. Please contact us at [](mailto:chikanwazuo@gmail.com)

Thank you for choosing BrightWeb Authentication! If you have any questions or need support, please feel free to open an issue on GitHub.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

821d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/73190344?v=4)[Chika](/maintainers/Chika)[@chika](https://github.com/chika)

---

Top Contributors

[![Bright11](https://avatars.githubusercontent.com/u/34070274?v=4)](https://github.com/Bright11 "Bright11 (14 commits)")

### Embed Badge

![Health badge](/badges/brightweb-authentication/health.svg)

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

###  Alternatives

[tg/tgwebvalid

An easy way to validate Telegram Login Widget and Telegram Mini App users on your website using PHP

6827.5k1](/packages/tg-tgwebvalid)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[kissdigital-com/apple-sign-in-client-secret-generator

PHP package for generating 'client secret' for Sign In with Apple

2125.5k](/packages/kissdigital-com-apple-sign-in-client-secret-generator)[denniseilander/laravel-passport-scopes-restriction

Restrict scopes for different Laravel Passport clients.

1636.3k](/packages/denniseilander-laravel-passport-scopes-restriction)

PHPackages © 2026

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