Skip to content

Instantly share code, notes, and snippets.

View mmachatschek's full-sized avatar

Markus Machatschek mmachatschek

View GitHub Profile
@mmachatschek
mmachatschek / ScoutSync.php
Last active January 22, 2023 00:33
Laravel Scout Sync MeiliSearch Index Settings
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
use Laravel\Scout\EngineManager;
use Laravel\Scout\Engines\MeiliSearchEngine;
use MeiliSearch\Client;
@mmachatschek
mmachatschek / Caddyfile
Last active September 30, 2021 14:15
Basic Caddyserver reverse proxy
domain.example.org {
reverse_proxy localhost:3000
}