A Laravel application demo with TinyMCE.
- PHP 8.1 or higher
- Node.js 16 or higher
- Composer
- TinyMCE API Key
- OpenAI API Key
- Clone the repository:
git clone <your-repo-url>
cd tinymce-laravel-demo
- Install PHP dependencies:
composer install
- Install Node.js dependencies:
npm install
- Create environment file:
cp .env.example .env
- Configure your environment variables in
.env
:
VITE_TINYMCE_API_KEY=your_tinymce_api_key
VITE_OPENAI_API_KEY=your_openai_api_key
- Generate application key:
php artisan key:generate
- Start Vite development server:
npm run dev
- Start Laravel development server:
php artisan serve
-
Visit http://localhost:8000 in your browser
- Rich text editing with TinyMCE
- AI-powered writing assistance
- Real-time AI suggestions
- Error logging and monitoring