PHP code example of mlbrgn / laravel-form-components
1. Go to this page and download the library: Download mlbrgn/laravel-form-components 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/ */
mlbrgn / laravel-form-components example snippets
'tag_prefix' => env('FORM_COMPONENTS_TAG_PREFIX', 'form'),
bash
php artisan vendor:publish --tag=mlbrgn-form-components-config
php artisan vendor:publish --tag=mlbrgn-form-components-assets
blade
<x-form-html-editor name="body" label="Body" :tinymce-config="['menubar' => false]" />