From f4d9eb95f8a73b9511247d76e396a41da4dc61c9 Mon Sep 17 00:00:00 2001 From: dpi Date: Sat, 9 Aug 2025 20:53:51 +0800 Subject: [PATCH 1/2] Update using-symfony.html.md add context to examples --- laravel/advanced-guides/using-symfony.html.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/laravel/advanced-guides/using-symfony.html.md b/laravel/advanced-guides/using-symfony.html.md index 566ca04b6c..9d9b76ce19 100644 --- a/laravel/advanced-guides/using-symfony.html.md +++ b/laravel/advanced-guides/using-symfony.html.md @@ -29,6 +29,10 @@ To accomplish this, we'll create a custom `SymfonyRuntime` class and use that wh Create file `.fly/FlySymfonyRuntime.php` with the following contents: ```php + Date: Thu, 16 Jul 2026 18:22:19 +0000 Subject: [PATCH 2/2] Add missing SymfonyRuntime use statement, fix Vale nits --- laravel/advanced-guides/using-symfony.html.md | 4 +++- styles/config/vocabularies/fly-terms/accept.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/laravel/advanced-guides/using-symfony.html.md b/laravel/advanced-guides/using-symfony.html.md index 9d9b76ce19..5b62edb748 100644 --- a/laravel/advanced-guides/using-symfony.html.md +++ b/laravel/advanced-guides/using-symfony.html.md @@ -33,6 +33,8 @@ Create file `.fly/FlySymfonyRuntime.php` with the following contents: namespace App; +use Symfony\Component\Runtime\SymfonyRuntime; + class FlySymfonyRuntime extends SymfonyRuntime { public function __construct(array $options = []) @@ -64,7 +66,7 @@ We also need to tell Symfony to use the `FlySymfonyRuntime` by setting an enviro ## The Fly Proxy -Symfony needs to be aware of the Fly Proxy in order to generate links correctly (among other things). The Fly proxy is a routing layer (similar to a load balancer) that sits between your application server and the public internet. +Symfony needs to be aware of the Fly Proxy to generate links correctly (among other things). The Fly proxy is a routing layer (similar to a load balancer) that sits between your application server and the public internet. The proxy terminates SSL connections, and sends "http" requests to your application. We need to tell Symfony to [trust this proxy](https://symfony.com/doc/current/deployment/proxies.html) by editing file `config/packages/framework.yaml`: diff --git a/styles/config/vocabularies/fly-terms/accept.txt b/styles/config/vocabularies/fly-terms/accept.txt index c7fe661027..8401380c73 100644 --- a/styles/config/vocabularies/fly-terms/accept.txt +++ b/styles/config/vocabularies/fly-terms/accept.txt @@ -166,6 +166,7 @@ Vue (?i)webpack websockets?\b WireGuard +Yaeger ams iad