定制 bitboss-hub/laravel-terminal-users 二次开发

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

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

bitboss-hub/laravel-terminal-users

Composer 安装命令:

composer require bitboss-hub/laravel-terminal-users

包简介

This package provides some functionalities to manage your users from Laravel CLI

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status

This package provides some functionalities to manage your users from laravel artisan terminal

Installation

You can install the package via composer:

composer require bitboss-hub/laravel-terminal-users

You can publish the config file with:

php artisan vendor:publish --tag="manage-terminal-users-config"

This is the contents of the published config file:

   return [

    /**
     * With field to check when the user can prompt. Ex: email, id
     */
    'field_to_check' => 'email',

    /**
     * Which field to update. Ex: password
     */
    'field_to_update' => 'password',

    /**
     * Should the password be encrypted? Default value: hash. Possible values: plain
     */
    'hash' => 'hash',

    /**
     * Which is the authenticable model? If null, we get it from the auth configuration
     */
    'model' => null,

    /**
     * Express optional password validation using Laravel Validation syntax
     */
    'validation' => null
];

Usage

You can call the Command using:

> php artisan bitboss:manage-users

Then, follow the instructions of the script.

 What's the user's email?:
 > ...

Prompt the email, or the other field defined in field_to_check configuration.

 Ok, now choose a password:
> ...

Prompt a password for the user found.

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.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固