devtical/filament-sanctum

Filament Sanctum

Fund package maintenance!
Kristories

v0.0.6 2023-07-24 07:51 UTC

This package is auto-updated.

Last update: 2024-04-24 09:30:34 UTC


README

Create Token Token Created

Installation

You can install the package via composer:

composer require devtical/filament-sanctum

Config:

php artisan vendor:publish --tag=filament-sanctum-config
return [

    'abilities' => [
        'users:read' => 'Read User',
        'users:create' => 'Create User',
        'users:update' => 'Update User',
        'users:delete' => 'Delete User',
        'blog:read' => 'Read Blog',
        'blog:create' => 'Create Blog',
        'blog:update' => 'Update Blog',
        'blog:delete' => 'Delete Blog',
    ],
    'columns' => 4,
    'navigation_menu' => true,
    'user_menu' => false,
    'label' => 'Sanctum',
    'slug' => 'sanctum',

];

Translations:

php artisan vendor:publish --tag=filament-sanctum-translations

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email w.kristories@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.