Download the PHP package widiu7omo/filament-bandel without Composer
On this page you can find all versions of the php package widiu7omo/filament-bandel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download widiu7omo/filament-bandel
More information about widiu7omo/filament-bandel
Files in widiu7omo/filament-bandel
Package filament-bandel
Short Description Banned Model with Filament Bandel
License MIT
Homepage https://github.com/widiu7omo/filament-bandel
Informations about the package filament-bandel
Laravel Filament Bandel
This code forked from - Truong Thanh Tung Filament Ban
Introduction
We are using laravel-ban by cybercog on the background.
Requirement
- Laravel 10
- FilamentPHP
Installation
You can install the package via composer:
You can publish and run the migrations with:
ou can publish and run the translations with:
You can publish the config file from cybercog/laravel-ban with:
Prepare Bannable model
Prepare bannable model database table
Bannable model must have nullable timestamp
column named banned_at
. This value used as flag and simplify checks if
user was banned. If you are trying to make default Laravel User model to be bannable you can use example below.
Register Ban Actions in Filament Resource
Register BanAction
and UnbanAction
actions inside your Model's Resource.
Register Bulk Un/Ban Actions in Filament Resource
Register BanBulkAction
and UnbanBulkAction
actions inside your Model's Resource.
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
- Danar Widi
- Truong Thanh Tung
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-bandel with dependencies
filament/filament Version ^3.0
cybercog/laravel-ban Version ^4.8
illuminate/contracts Version ^11.8
spatie/laravel-package-tools Version ^1.14