PHP code example of schmeits / filament-4-phosphor-icons

1. Go to this page and download the library: Download schmeits/filament-4-phosphor-icons 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/ */

    

schmeits / filament-4-phosphor-icons example snippets


    Forms\Components\TextInput::make('name')
        ->

enum PhosphorWeight: string
{
    case Thin = 'thin';
    case Light = 'light';
    case Regular = 'regular';
    case Bold = 'bold';
    case Fill = 'fill';
    case Duotone = 'duotone';
}

    ->prefixIcon(Phosphor::Smiley->getIconForWeight(PhosphorWeight::Duotone))