rosiersrobin/filament-miqey-login

Filament login for Miqey sms login support

1.0.0 2024-04-26 13:44 UTC

This package is auto-updated.

Last update: 2024-04-29 19:20:03 UTC


README

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

Add support for MiQey login flows to your Filament PHP project.

This package requires a valid MiQey Account and Pusher to work. You also need to have Queues setup.

Installation

You can install the package via composer:

composer require rosiersrobin/filament-miqey-login

Requirements

  • Pusher (or other socket service that uses pusher protocol)
  • queue worker (not sync)
  • MiQey account with credit

Usage

Change the login() function in your panel provider you want the login to be active on.

use RosiersRobin\FilamentMiqeyLogin\Pages\Auth\SmsLogin;


public function panel(Panel $panel): Panel
    {
        return $panel
        ...
        ->login(SmsLogin::class);
    }

Add an .env key called SECURE_ID_API_KEY= with the key given by MiQey.

Make sure you have pusher setup and working.

Currently, this package uses the default queue to handle the webhooks received. Make sure you have a working queue setup that is NOT sync.

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.