定制 hardikkhorasiya09/change-password 二次开发

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

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

hardikkhorasiya09/change-password

Composer 安装命令:

composer require hardikkhorasiya09/change-password

包简介

Filament change password plugin.

README 文档

README

A simple and customizable filament plugin that provides a standalone Change Password page for your laravel filament admin panel.

🔗 GitHub Repository

https://github.com/HardikKhorasiya09/change-password

🚀 Features

  • Adds a dedicated Change Password page to your filament panel.
  • Clean, user-friendly UI.
  • Easily extendable and customizable.
  • Secure password update logic.

🛠 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-password

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

use Hardikkhorasiya09\ChangePassword\ChangePasswordPlugin;

$panel->...
    ->plugins([
      ...
      ChangePasswordPlugin::make()      //required to enable this extension
    ]); 

⚙️ Step 3: (Optional) Restrict Page Access by User

If you want to restrict access to the Change Password page for specific users, you can define a canAccessChangePassword() method in your User model.

// In app/Models/User.php

public function canAccessChangePassword(): bool
{
    // Example: Only allow users with 'admin' role
    return $this->role === 'admin';
}

🔐 Usage

Once installed and registered, a new Change Password page will appear in the user menu (or wherever you've configured it). Users can securely change their current password using this interface.

📷 Screenshot

Change Password Page Screenshot Change Password Page Screenshot

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固