定制 slimani/filament-quick-login 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

slimani/filament-quick-login

最新稳定版本:0.3.1

Composer 安装命令:

composer require slimani/filament-quick-login

包简介

A quick login plugin for Filament login page.

README 文档

README

GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status Total Downloads License

A quick login plugin for Filament login page. It allows you to quickly log in as predefined users, perfect for development and testing environments.

Features

  • Quick Login Buttons: Adds buttons to the login page to log in instantly.
  • Customizable Users: Define which users are available for quick login.
  • Environment Aware: Easily enable or disable the plugin based on your application environment.
  • Model Support: Works with any Eloquent user model.

Installation

You can install the package via composer:

composer require slimani/filament-quick-login

Usage

Registering the Plugin

Register the plugin in your Panel Provider:

use Slimani\QuickLogin\QuickLoginPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(QuickLoginPlugin::make());
}

Customizing the Plugin

You can customize the plugin's behavior using the following methods:

QuickLoginPlugin::make()
    ->enable(app()->environment('local')) // Only enable in local environment
    ->userModel(\App\Models\Admin::class) // Custom user model
    ->users([
        'admin@example.com',
        'user@example.com',
    ]) // Predefined users by email

You can also pass a Closure or a Collection to the users() method:

QuickLoginPlugin::make()
    ->users(fn () => \App\Models\User::all())

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固