PHP code example of marshmallow / nova-fontawesome

1. Go to this page and download the library: Download marshmallow/nova-fontawesome 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/ */

    

marshmallow / nova-fontawesome example snippets


  use Marshmallow\NovaFontAwesome\NovaFontAwesome;

  NovaFontAwesome::make('Icon')

  NovaFontAwesome::make('Icon')->addButtonText('Click Me!')

  NovaFontAwesome::make('Icon')->defaultIcon('far', 'check-circle')

  NovaFontAwesome::make('Icon')->addButtonText('Click Me!')->defaultIcon('far', 'check-circle')->persistDefaultIcon()

  NovaFontAwesome::make('Icon')->only([
    'facebook',
    'twitch',
    'twitter',
  ])

  NovaFontAwesome::make('Icon')->pro()