PHP code example of rhyslees / jetstream-team-profile-photo
1. Go to this page and download the library: Download rhyslees/jetstream-team-profile-photo library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rhyslees / jetstream-team-profile-photo example snippets
use RhysLees\JetstreamTeamProfilePhoto\Traits\HasTeamProfilePhoto;
class Team extends JetstreamTeam
{
use HasTeamProfilePhoto;
...
}
bash
php artian teamprofilephoto:install
bash
php artisan vendor:publish --tag="jetstream-team-profile-photo-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="jetstream-team-profile-photo-views"
bash
php artisan vendor:publish --tag="jetstream-team-profile-photo-config"