rosiersrobin / filament-miqey-login
Filament login for Miqey sms login support
Fund package maintenance!
RosiersRobin
Requires
- php: ^8.2
- filament/filament: ^3.0
- libaro/miqey-client: ^1.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- roave/security-advisories: dev-latest
README
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 the following keys to your .env:
MIQEY_API_KEY=
MIQEY_WEBHOOK_SECRET=
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.