maggomann / filament-tournament-league-administration
An event and tournament management plugin for the Filament Admin Panel v2.x, intended for dart clubs in the first implementation. Here you can manage clubs, teams, matches, players and match days including score tables.
Requires
- php: ^8.1
- filament/spatie-laravel-media-library-plugin: ^2.16
- korridor/laravel-has-many-merged: ^0.0.3
- maggomann/addressable: ^0
- maggomann/filament-model-translator: ^0
- maggomann/filament-only-icon-display: ^0
- rinvex/countries: ^8.1
- spatie/laravel-data: ^2.0
- spatie/laravel-package-tools: ^1.9.2
- spatie/laravel-sluggable: ^3.4
Requires (Dev)
- filament/filament: ^2.1
- filament/forms: ^2.15
- filament/notifications: ^2.15
- filament/spatie-laravel-settings-plugin: ^2.15
- filament/spatie-laravel-tags-plugin: ^2.15
- filament/spatie-laravel-translatable-plugin: ^2.15
- filament/tables: ^2.15
- laravel/laravel: ^9.3
- laravel/pint: ^1.0
- livewire/livewire: ^2.10
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.22
- pestphp/pest-plugin-laravel: ^1.3
- pestphp/pest-plugin-livewire: ^1.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/php-code-coverage: ^9.2
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-09 07:03:05 UTC
README
filament-tournament-league-administration plugin for the Filament admin panel
This package is tailored for Filament Admin Panel v2.x.
Make sure you have installed the admin panel before you continue with the installation. You can check the documentation here
An event and tournament management plugin for the Filament Admin Panel v2.x, intended for dart clubs in the first implementation. Here you can manage clubs, teams, matches, players and match days including score tables. More detailed information can be found later in the documentation.
Installation
You can install the package via composer:
composer require maggomann/filament-tournament-league-administration
You can publish and run the migrations with:
php artisan filament-tournament-league-administration:install-with-addressable php artisan migrate
or
php artisan vendor:publish --tag="filament-tournament-league-administration-migrations"
php artisan migrate
Optionally, you can run the seeder with:
php artisan db:seed --class=FilamentTournamentTableSeeder
This is the contents of the published config file:
<?php return [ /** * Supported content editors: richtext & markdown: * \Filament\Forms\Components\RichEditor::class * \Filament\Forms\Components\MarkdownEditor::class */ 'editor' => \Filament\Forms\Components\RichEditor::class, /** * Buttons for text editor toolbar. */ 'toolbar_buttons' => [ 'attachFiles', 'blockquote', 'bold', 'bulletList', 'codeBlock', 'h2', 'h3', 'italic', 'link', 'orderedList', 'redo', 'strike', 'undo', ], /** * Resources */ 'resources' => [], /** * Supported file upload classes: * \Filament\Forms\Components\FileUpload::class * * it supports this only in combination with: * table_image_column => \Filament\Tables\Columns\ImageColumn * ----------------------------------------------------------------------------------------- * \Filament\Forms\Components\SpatieMediaLibraryFileUpload::class * * it supports this only in combination with: * table_image_column => \Filament\Tables\Columns\SpatieMediaLibraryImageColumn::class */ 'form_file_upload' => env('MM_FORM_FILE_UPLOAD', \Filament\Forms\Components\FileUpload::class), /** * Supported image column classes: * \Filament\Tables\Columns\ImageColumn * * it supports this only in combination with: * form_file_upload => \Filament\Forms\Components\FileUpload::class * ----------------------------------------------------------------------------------------- * \Filament\Tables\Columns\SpatieMediaLibraryImageColumn::class * * it supports this only in combination with: * form_file_upload => \Filament\Forms\Components\SpatieMediaLibraryFileUpload::class */ 'table_image_column' => env('MM_TABLE_IMAGE_COLUMN', \Filament\Tables\Columns\ImageColumn::class), 'file_upload' => [ 'max_size' => 1024 * 2, // 2 MB ], ];
File uploads
If you want to use the filament/spatie-laravel-media-library-plugin package that is already installed in the background, you need to publish the data and run the migration.
You must publish the migration to create the media table.
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"
Run the migrations:
php artisan migrate
or publish the migration and migrate the table with
php artisan filament-tournament-league-administration:publish-media-plugin-and-migrate
Testing
composer test
or with coverage
composer test:pest-coverage
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.
Disclaimer
Please note that these packages for Filament are not officially operated by Filament and do not provide any support or warranty from the Filament team. The use of these packages is at your own risk.
This project represents unofficial extensions for Filament and is maintained by an independent community of developers. We strive to maintain compatibility with the current versions of Filament, but we cannot guarantee that the packages will function flawlessly or be compatible with future versions of Filament.
We recommend users to create backups of their projects and thoroughly test them before using these packages. If you have any questions, issues, or suggestions, we are available to assist you. However, please note that we cannot provide official support for these packages.
We would like to emphasize that Filament is a separate developer community independent of this project. For more information about Filament, please refer to the official Filament website.
Please read the license terms to learn more about the conditions for using these packages.