jeffersongoncalves/filament-keyable

This is a Laravel Filament package that provides a Keyable functionality for web applications.

1.0.0 2025-05-08 13:02 UTC

This package is auto-updated.

Last update: 2025-05-08 13:21:06 UTC


README

Filament Keyable

Filament Keyable

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

This is a Laravel Filament package that provides API Key management functionality for any model in your web application. Built on top of the givebutter/laravel-keyable library, this plugin allows you to associate incoming requests with their respective models and manage API key authorization through Policies. The package seamlessly integrates these features into the Filament admin panel interface.

Key Features

  • Integration with the Laravel Filament framework
  • Admin interface for managing API keys
  • Easy implementation through a configurable plugin
  • Support for model-specific API keys
  • Request authorization via Policies

How It Works

The package provides a plugin for Filament that can be easily integrated into your admin panel. It uses the foundation of the givebutter/laravel-keyable library to add API key capabilities to any model in your application while providing a user-friendly interface for key management through Filament. This solution is ideal for:

  • API authentication
  • Request authorization
  • Secure model access
  • Data migrations

Installation

You can install the package via composer:

composer require jeffersongoncalves/filament-keyable

Usage

Publish config file.

php artisan vendor:publish --tag=filament-keyable-config

Add in AdminPanelProvider.php

use JeffersonGoncalves\Filament\Keyable\KeyablePlugin;

->plugins([
    KeyablePlugin::make(),
])

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.