Check if PHP is already installed by running: php -v in CMD or PowerShell.
If not installed, go to https://windows.php.net/download/ and download PHP.
Extract it to C:\php and add C:\php to your system path.
Verify installation by running: php -v.
Download and install Composer from https://getcomposer.org/download/.
After installation, check with: composer -V.
Run: composer global require laravel/installer.
Ensure Composer’s global vendor/bin folder is in your system path.
Verify with: laravel --version.
Run: composer create-project laravel/laravel laravelPage.
Navigate into project folder: cd laravelPage.
Run: php artisan serve.
Open browser and visit: http://127.0.0.1:8000.
Open: routes/web.php.
Replace the default route with the blank page route provided.
1<?php
2use Illuminate\Support\Facades\Route;
3
4Route::get('/', function () {
5 return view('blank');
6});Create a file: resources/views/blank.blade.php or add where you require the editor.
Add the provided iframe code to embed Tetrons editor in your code.
1<body>
2 <iframe
3 id="tetrons-iframe"
4 src="https://product.tetrons.com/embed"
5 style="width:100%; height:100vh; border:none;"
6 allow="clipboard-read; clipboard-write; microphone; camera"
7 ></iframe>
8</body>Refresh http://127.0.0.1:8000 to see the Tetrons Editor working.
