maggomann / filament-tournament-league-administration
适用于 Filament Admin Panel v2.x 的事件和锦标赛管理插件,最初旨在为飞镖俱乐部使用。在这里,您可以管理俱乐部、团队、比赛、球员和比赛日,包括得分表。
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-09-09 06:26:19 UTC
README
filament-tournament-league-administration 插件用于 Filament 管理面板
此软件包是为 Filament Admin Panel v2.x 定制的。
在继续安装之前,请确保您已安装了管理面板。您可以在此处查看文档。
适用于 Filament Admin Panel v2.x 的事件和锦标赛管理插件,最初旨在为飞镖俱乐部使用。在这里,您可以管理俱乐部、团队、比赛、球员和比赛日,包括得分表。更详细的信息可以在文档中找到。
安装
您可以通过 composer 安装此软件包
composer require maggomann/filament-tournament-league-administration
您可以使用以下命令发布和运行迁移
php artisan filament-tournament-league-administration:install-with-addressable php artisan migrate
或者
php artisan vendor:publish --tag="filament-tournament-league-administration-migrations"
php artisan migrate
可选地,您可以使用以下命令运行生成器
php artisan db:seed --class=FilamentTournamentTableSeeder
这是发布配置文件的包含内容
<?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 ], ];
文件上传
如果您想使用已安装的 filament/spatie-laravel-media-library-plugin 软件包,您需要发布数据并运行迁移。
您必须发布迁移以创建媒体表。
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"
运行迁移
php artisan migrate
或者使用以下命令发布迁移并迁移表
php artisan filament-tournament-league-administration:publish-media-plugin-and-migrate
测试
composer test
或者使用覆盖率测试
composer test:pest-coverage
变更日志
有关最近更改的更多信息,请参阅变更日志。
贡献
有关详细信息,请参阅贡献指南。
安全漏洞
有关如何报告安全漏洞的详细信息,请参阅我们的安全策略。
致谢
许可证
MIT 许可证 (MIT)。有关更多信息,请参阅许可证文件。
免责声明
请注意,这些 Filament 软件包不是由 Filament 官方运营的,也不提供 Filament 团队的任何支持或保证。使用这些软件包的风险自负。
此项目代表 Filament 的非官方扩展,由一个独立的开发者社区维护。我们努力保持与 Filament 当前版本的兼容性,但不能保证这些软件包将完美运行或与 Filament 的未来版本兼容。
我们建议用户在使用这些软件包之前备份其项目并进行彻底测试。如果您有任何问题、问题或建议,我们可以提供帮助。但是,请注意,我们无法提供这些软件包的官方支持。
我们想强调 Filament 是一个独立于这个项目的开发者社区。有关 Filament 的更多信息,请参阅官方 Filament 网站。
请阅读许可条款,以了解更多关于使用这些包的条件。