Download the PHP package rhyslees/jetstream-team-profile-photo without Composer
On this page you can find all versions of the php package rhyslees/jetstream-team-profile-photo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rhyslees/jetstream-team-profile-photo
More information about rhyslees/jetstream-team-profile-photo
Files in rhyslees/jetstream-team-profile-photo
Package jetstream-team-profile-photo
Short Description This is my package jetstream-team-profile-photo
License MIT
Homepage https://github.com/rhyslees/jetstream-team-profile-photo
Informations about the package jetstream-team-profile-photo
This is my package jetstream-team-profile-photo
This package adds team profile photos to jetstream
Note: Current only supports livewire stack
Installation
You can install the package via composer:
You can publish and run the migrations with:
Optionally, you can publish the views using
Optionally, you can publish the config using
Add the HasTeamProfilePhotos
trait to your Team model:
Modify resources/views/teams/show.blade.php
as follows:
Modifying the redirect route
If you want to change the redirect route after updating the team profile photo, you can publish the config file and change the redirect_route.name
value.
Adding additional redirect route parameters
If you want to add additional parameters to the redirect route, you can specify them in the @linvewire
directive as follows:
For route parameters to be passed to the redirect route, you will need to pass them to the view where you implement the @livewire('jetstream-team-profile-photo::update-team-infomation-form')
directive.
Testing
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
- Rhys Lees
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of jetstream-team-profile-photo with dependencies
illuminate/contracts Version ^10.0
laravel/jetstream Version ^2.12
livewire/livewire Version ^2.10
spatie/laravel-package-tools Version ^1.13.0