feat: Add and configure Filament Auth UI Enhancer plugin for improved authentication UI.

This commit is contained in:
Yoga Pangestu 2026-03-10 10:45:46 +07:00
parent 5f1b061b7b
commit a46bd4f275
4 changed files with 86 additions and 2 deletions

View File

@ -2,6 +2,7 @@
namespace App\Providers\Filament;
use DiogoGPinto\AuthUIEnhancer\AuthUIEnhancerPlugin;
use Filament\Http\Middleware\Authenticate;
use Filament\Http\Middleware\AuthenticateSession;
use Filament\Http\Middleware\DisableBladeIconComponents;
@ -55,6 +56,12 @@ public function panel(Panel $panel): Panel
])
->authMiddleware([
Authenticate::class,
])
->plugins([
AuthUIEnhancerPlugin::make()
->formPanelPosition('left')
->formPanelWidth('40%')
->emptyPanelBackgroundImageUrl('https://images.pexels.com/photos/267885/pexels-photo-267885.jpeg'),
]);
}
}

View File

@ -7,6 +7,7 @@
"license": "MIT",
"require": {
"php": "^8.2",
"diogogpinto/filament-auth-ui-enhancer": "^2.0",
"filament/filament": "^5.0",
"laravel/framework": "^12.0",
"laravel/tinker": "^2.10.1"

76
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "f951894ee7334ac4a0e4371d7c1ad0b1",
"content-hash": "d67c2a532b0d1372abfd54e4563e9308",
"packages": [
{
"name": "anourvalar/eloquent-serialize",
@ -690,6 +690,80 @@
},
"time": "2024-07-08T12:26:09+00:00"
},
{
"name": "diogogpinto/filament-auth-ui-enhancer",
"version": "v2.0.2",
"source": {
"type": "git",
"url": "https://github.com/diogogpinto/filament-auth-ui-enhancer.git",
"reference": "dcaf3eb200fa7120987d92d8b8df760ed5dd13df"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/diogogpinto/filament-auth-ui-enhancer/zipball/dcaf3eb200fa7120987d92d8b8df760ed5dd13df",
"reference": "dcaf3eb200fa7120987d92d8b8df760ed5dd13df",
"shasum": ""
},
"require": {
"filament/filament": "^4.0 | ^5.0",
"php": "^8.2",
"spatie/laravel-package-tools": "^1.15"
},
"require-dev": {
"laravel/pint": "^1.0",
"orchestra/testbench": "^9.0|^10.0",
"pestphp/pest": "^3.7",
"pestphp/pest-plugin-laravel": "^3.0",
"pestphp/pest-plugin-livewire": "^3.0"
},
"type": "library",
"extra": {
"laravel": {
"aliases": {
"AuthUIEnhancer": "DiogoGPinto\\AuthUIEnhancer\\Facades\\AuthUIEnhancer"
},
"providers": [
"DiogoGPinto\\AuthUIEnhancer\\AuthUIEnhancerServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"DiogoGPinto\\AuthUIEnhancer\\": "src/",
"DiogoGPinto\\AuthUIEnhancer\\Database\\Factories\\": "database/factories/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Diogo Pinto",
"role": "Developer"
}
],
"description": "This Filament plugin empowers you to transform your auth pages with ease, allowing you to make them truly stand out. It offers a flexible alternative to the default auth pages in the Filament Panels package.",
"homepage": "https://github.com/diogogpinto/filament-auth-ui-enhancer",
"keywords": [
"diogogpinto",
"filament",
"filament-auth-ui-enhancer",
"filament-plugin",
"laravel"
],
"support": {
"issues": "https://github.com/diogogpinto/filament-auth-ui-enhancer/issues",
"source": "https://github.com/diogogpinto/filament-auth-ui-enhancer"
},
"funding": [
{
"url": "https://github.com/diogogpinto",
"type": "github"
}
],
"time": "2026-01-18T00:13:04+00:00"
},
{
"name": "doctrine/inflector",
"version": "2.1.0",

View File

@ -7,4 +7,6 @@
@source '../../../../resources/views/filament/**/*';
@source '../../../../resources/views/components/**/*';
@source '../../../../resources/views/livewire/**/*';
@source '../../../../app/Livewire/**/*';
@source '../../../../app/Livewire/**/*';
@source '../../../../vendor/diogogpinto/filament-auth-ui-enhancer/resources/**/*.blade.php';