joelbutcher/jetstream-team-transfer
Composer 安装命令:
composer require joelbutcher/jetstream-team-transfer
包简介
A team transfer form for Laravel Jetstream
README 文档
README
Installation
To get started, run the following commands:
composer require joelbutcher/jetstream-team-transfer php artisan jetstream-team-transfer:install
The install command will publish a new Team model utilising the TransfersTeam trait and a team-transfer-form.blade.php stub to the resources/views/teams directory. It will also replace the default TeamPolicy shipped with Jetstream, with a modified version that includes a transferTeam method.
Note: This package only works with the Livewire Jetstream stack.
To include the form in your teams view, add the following livewire component to the teams/show.blade.php file:
@livewire('teams.team-transfer-form', ['team' => $team])
Changelog
Check out the CHANGELOG in this repository for all the recent changes.
Maintainers
Socialstream is developed and maintained by Joel Butcher
License
Socialstream is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 1.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-01