Download the PHP package jeffersongoncalves/filament-ban without Composer

On this page you can find all versions of the php package jeffersongoncalves/filament-ban. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-ban

![Filament Ban](https://raw.githubusercontent.com/jeffersongoncalves/filament-ban/3.x/art/jeffersongoncalves-filament-ban.png)

Filament Ban

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

Ban and unban any Eloquent model directly from your Filament panel. This package wraps cybercog/laravel-ban and ships ready-to-use actions, bulk actions, an icon column and a status filter for your Filament resources and tables. Inspired by cybercog/laravel-nova-ban.

Version Compatibility

Filament Laravel PHP Branch Version
v3 10 / 11 8.1+ 1.x ^1.0
v4 11 / 12 8.2+ 2.x ^2.0
v5 11.28 / 12 / 13 8.2+ 3.x ^3.0

All tags use plain SemVer without the v prefix (e.g. 3.0.0).

Installation

You can install the package via composer:

Publish and run the cybercog/laravel-ban migration (creates the bans table):

Then add a nullable banned_at timestamp column to each bannable model's table:

Preparing your model

Make any Eloquent model bannable by implementing the contract and using the trait:

Usage

Actions

Add ban / unban buttons to a resource table row. Each action shows only when relevant (Ban when the record is not banned, Unban when it is). BanAction opens a modal where you can set an optional comment and an optional expiration date.

Bulk actions

Column

Display the current ban status as a boolean icon:

Filter

Filter records by ban status (uses the onlyBanned / withoutBanned scopes):

Development

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.


All versions of filament-ban with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
cybercog/laravel-ban Version ^4.10
filament/filament Version ^5.3
spatie/laravel-package-tools Version ^1.14.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jeffersongoncalves/filament-ban contains the following files

Loading the files please wait ...