定制 hardikkhorasiya09/change-login-field 二次开发

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

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

hardikkhorasiya09/change-login-field

最新稳定版本:1.0.0

Composer 安装命令:

composer require hardikkhorasiya09/change-login-field

包简介

README 文档

README

Packagist

This Filament Plugin allows you to customize the login form fields in your Filament-based application. By default, Filament uses the email field for login, but this plugin lets you easily switch the login field to username, phone number, or any custom field of your choice.

Features

  • Flexible Login Field: Choose between email, username, phone number, or any custom field for login.
  • Configurable: Easily configure the login field via the config/change-login-field.php configuration file.
  • Seamless Integration: Works with your existing Filament setup without requiring major code changes.

Installation and Setup

You can install this plugin via Composer.

Step 1: Install the Plugin

Run the following command to install the package via Composer:

composer require hardikkhorasiya09/change-login-field

Step 2: Add this into your Filament PanelProvider class panel()

use Hardikkhorasiya09\ChangeLoginField\ChangeLoginFieldPlugin;

$panel->...
    // ->login() //comment or remove login registration for default setting
    ->plugins([
      ...
      ChangeLoginFieldPlugin::make()      //required to enable this extension
    ]); 

Step 3: Need to run below command

You can publish the config file change-login-field.php, by running this command

php artisan vendor:publish --tag=change-login-field-config

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固