PHP code example of illizian / nova-emoji-field-container

1. Go to this page and download the library: Download illizian/nova-emoji-field-container 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/ */

    

illizian / nova-emoji-field-container example snippets


/* ... */
use \Illizian\NovaEmojiFieldContainer\NovaEmojiFieldContainer;
/* ... */

class Example extends Resource
{
    /* ... */
    public function fields(Request $request)
    {
        return [
            /* ... */
            NovaEmojiFieldContainer::make([
                Textarea::make(__('Message'), 'message'),
            ]),
        ];
    }