First, install the Composer package:
composer require te7a-houdini/laravel-trix
php artisan vendor:publish --provider="Te7aHoudini\LaravelTrix\LaravelTrixServiceProvider"
After you install the package, it looks like you have an Article Model, and you want the Trix editor to create and update the forms on it. All you have to do is use Blade:
php artisan migrate
The package includes many other features, such as using uploaded files, creating for existing models, and configuring advanced. More information about this package Find it on the Github page and the entire user manual.
html>head> @trixassets head>body>form method="POST" action="route('article.store')"> @csrf @trix(\App\Article::class, 'content') input type="submit">form>body>html>