PHP code example of riodwanto / filament-ace-editor
1. Go to this page and download the library: Download riodwanto/filament-ace-editor 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/ */
riodwanto / filament-ace-editor example snippets
use Riodwanto\FilamentAceEditor\AceEditor;
public function form(Form $form): Form
{
return $form
->schema([
...
AceEditor::make('code-editor')
->mode('php')
->theme('github')
->darkTheme('dracula'),
])
}