New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

joelbutcher/jetstream-team-transfer

A team transfer form for Laravel Jetstream
1,958 20
Install
composer require joelbutcher/jetstream-team-transfer
Latest Version:v2.0.0
PHP:^8.1
Laravel:10
Older releases:8
License:MIT
Last Updated:Jun 5, 2024
Links: GitHub  ·  Packagist
Maintainer: joelbutcher

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.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released Laravel License
v2.0.0 ^10.0 MIT
v1.1.1 ^8.0 MIT
v1.1.0 ^8.0 MIT
v1.0.1 ^8.0 MIT
v1.0.0 ^8.0 MIT