1. Go to this page and download the library: Download almamun2s/tinymce 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/ */
almamun2s / tinymce example snippets
return [
/**
* API get on https://www.tiny.cloud/
*/
'api_key' => env('TINY_MCE_API', 'no-api-key'),
/**
* Your frontend framework what you used to develop your website
* By default it is laravel blade
* blade is available now
* react, vue and angular are coming soon
*/
'frontend_framework' => 'blade',
];
{!! app('tinymce')->display() !!}
{!! app('tinymce')->display('This is from your code') !!}
{!! app('tinymce')->display('This is from your code', ['name' => 'my-textarea']) !!}
{!! app('tinymce')->display('This is from your code', ['class' => 'my-class']) !!}
{!! app('tinymce')->display('This is from your code', ['id' => 'my-id']) !!}
{!! app('tinymce')->display('This is from your code', ['name' => 'my-product-details'], ['price' => '200', 'quantity' => '15']) !!}
php artisan vendor:publish --tag=tinymce
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.