PHP code example of luttje / filament-user-attributes

1. Go to this page and download the library: Download luttje/filament-user-attributes 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/ */

    

luttje / filament-user-attributes example snippets


    // app/Filament/Resources/UserAttributeConfigResource.php
    namespace App\Filament\Resources;

    use Luttje\FilamentUserAttributes\Filament\Resources\UserAttributeConfigResource as BaseUserAttributeConfigResource;

    class UserAttributeConfigResource extends BaseUserAttributeConfigResource
    {
        protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
    }
    
bash
    php artisan filament-user-attributes:install
    
bash
    php artisan filament-user-attributes:wizard
    
bash
    php artisan vendor:publish --tag=filament-user-attributes-translations
    
bash
    php artisan vendor:publish --tag=filament-user-attributes-config