oyepez003/filament-lockscreen

This is my package filament-lockscreen

dev-main 2022-09-15 10:59 UTC

This package is auto-updated.

Last update: 2024-10-15 15:25:40 UTC


README

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

LockScreen

Installation

You can install the package via composer:

composer require marjose123/filament-lockscreen

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-lockscreen-views"

Add this middleware Locker::class to your Filament Config and you're ready to go

// use lockscreen\FilamentLockscreen\Http\Middleware\Locker;

    'middleware' => [
        'auth' => [
          //....
            Locker::class,
        ],
       // .....
    ],

Using the plugin FilamentPasswordReveal

composer require phpsa/filament-password-reveal

Publish the config files

php artisan vendor:publish --tag="filament-lockscreen-config"

Update the config filament-lockscreen.fields.password:

<?php

// config for filament-lockscreen/FilamentLockscreen
return [
    'fields' => [
        'password' => \Phpsa\FilamentPasswordReveal\Password::class
    ]
];

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.