Skip to content

tinymce/devrel-tinymce-laravel-demo

Repository files navigation

TinyMCE Laravel Demo with AI Integration

A Laravel application demo with TinyMCE.

Requirements

  • PHP 8.1 or higher
  • Node.js 16 or higher
  • Composer
  • TinyMCE API Key
  • OpenAI API Key

Setup

  1. Clone the repository:
git clone <your-repo-url>
cd tinymce-laravel-demo
  1. Install PHP dependencies:
composer install
  1. Install Node.js dependencies:
npm install
  1. Create environment file:
cp .env.example .env
  1. Configure your environment variables in .env:
VITE_TINYMCE_API_KEY=your_tinymce_api_key
VITE_OPENAI_API_KEY=your_openai_api_key
  1. Generate application key:
php artisan key:generate

Development

  1. Start Vite development server:
npm run dev
  1. Start Laravel development server:
php artisan serve
  1. Visit http://localhost:8000 in your browser

    image

Features

  • Rich text editing with TinyMCE
  • AI-powered writing assistance
  • Real-time AI suggestions
  • Error logging and monitoring

About

A simple PHP Laravel application with TinyMCE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •