u/AberrantNarwal

▲ 3 r/PHP

bare repo git pattern when working with Symfony?

Hi all,

I'm using Laragon for local development and currently learning Symfony. SymfonyCasts has been great so far.

I recently learned about using a bare Git repository with multiple git worktree checkouts, and I'm wondering whether anyone uses this workflow when developing Symfony apps locally.

Normally, if I create a project at:

www/my-project

Laragon automatically gives me a local domain like:

https://my-project.test

But with a bare repo / worktree setup, I imagine the structure would be more like:

www/my-project/
  repo.git/
  main/
    public/
  feature-1/
    public/
  feature-2/
    public/

Since Symfony's document root needs to point to each worktree's public/ directory, I'm not sure what the best local setup would be.

Do people usually create a separate Apache virtual host for each worktree, for example:

my-project-main.test      -> www/my-project/main/public
my-project-feature-1.test -> www/my-project/feature-1/public

Or is there a better/common way to use Git worktrees with Symfony and Laragon?

I'm mainly trying to avoid constantly switching branches in one working copy, while still being able to test different worktrees easily in the browser.

Thanks!

reddit.com
u/AberrantNarwal — 1 day ago
▲ 23 r/Udemy

Using Udemy in 2026 as a student is a horrible experience

The course and instructor themselves are brilliant, however this is a challenging course for me that a). takes a lot of willpower to sit down b) is quite difficult to find the time to do.

Since I started a couple of weeks ago it's been the most horrible experience I've ever had learning anything online. I've not gone two lectures without having to refresh my browser to get the video to start playing.

I dread having to pause the video to take any notes or think because invariable that will be it for 5-10 minutes as I try gettting the video to play again.

Moving the video back a little to hear a section again is the same story - the playback will just stop and refreshing the entire page and finding my place again is a 50/50 - by the time I've got the damn thing to play again my train of thought, concentration and willpower are SHOT and abstract thinking is RUINED.

On top of this the entire platform has been completely offline for huge chunks of the day over the past few weeks. The Udemy status report history is an absolute lie as most of those days it's had some sort of bigger issue where their website has not even been accesible at all.

I'm going to IMPLORE the creator of this excellent course that I'm doing to host the course on their own website where I will gladly pay 10x the amount to take it over Udemy.

I would also highly recommend anyone who has had their time wasted and schedule disrupted by this incompetent company to leave an honest review of their experience on Trustpilot.

reddit.com
u/AberrantNarwal — 6 days ago
▲ 9 r/Udemy

Videos just constantly stop

I can't put into words what a poor experience it's been trying to use Udemy in the last few days. For a website that just has to play a video I just don't understand how they can be so incompetent. I've tried clearing all caches, running on a clean browser but every second video will just stop in the middle of playback. I'm finding the course quite fast paced and challenging and these constant interruptions to my thinking make me want to punch a hole through the screen.

I'd recommend their dev team take a few courses on youtube!

reddit.com
u/AberrantNarwal — 12 days ago