emanate/kitasa

This is my package kitasa

Maintainers

Package info

github.com/wao1ook/kitasa

Homepage

pkg:composer/emanate/kitasa

Fund package maintenance!

emanate

Statistics

Installs: 15

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.3 2025-12-27 08:51 UTC

This package is auto-updated.

Last update: 2026-03-27 09:21:31 UTC


README

Latest Stable Version Total Downloads License

This package provides a multi-stage phone number authentication system for Filament panels, including OTP-based password resets.

Installation

You can install the package via composer:

composer require emanate/kitasa

You can publish and run the migrations with:

php artisan vendor:publish --tag="kitasa-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="kitasa-config"

This is the contents of the published config file:

return [
    'phone_column' => 'phone_number',

    'otp' => [
        'expiry' => 10, // minutes
        'table' => 'kitasa_otps',
    ],
];

Optionally, you can publish the translations using

php artisan vendor:publish --tag="kitasa-translations"

Usage

To integrate the phone authentication system into your Filament panel, register the KitasaPlugin in your panel configuration:

use Emanate\Kitasa\KitasaPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            KitasaPlugin::make(),
        ]);
}

This will automatically override the default Filament login, password reset request, and password reset pages to use a phone-based, multi-stage flow.

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.