Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thesnakebite's avatar

thesnakebite liked a comment+100 XP

2mos ago

thesnakebite's avatar

thesnakebite wrote a comment+100 XP

2mos ago

Laravel From Scratch (2026 Edition): Ep 43, Where To Go From Here

Great job Jeffrey, thank you so much 🙋🏻

thesnakebite's avatar

thesnakebite wrote a comment+100 XP

2mos ago

Laravel From Scratch (2026 Edition): Ep 38, Authorization Is A Requirement

Thanks @marc_meat! 🙌🏻 After investigating, I confirmed that this is indeed the error. I found a possible workaround without modifying the Composer fork: dynamically setting the enctype with Alpine.js only when the user selects an image:

x-bind:enctype="hasImage ? 'multipart/form-data' : false"

This way, the form is submitted without multipart/form-data by default, and the browser test passes, but when the user selects an image, it changes automatically. I hope this helps!

thesnakebite's avatar

thesnakebite wrote a comment+100 XP

2mos ago

Laravel From Scratch (2026 Edition): Ep 38, Authorization Is A Requirement

Is anyone else having this problem?

FAILED Tests\Browser\CreateIdeaTest > it creates a new idea
Failed asserting that an array has the key 'title'.

... I've checked everything over and over and I still can't figure out what's wrong!

thesnakebite's avatar

thesnakebite wrote a reply+100 XP

2mos ago

thesnakebite's avatar

thesnakebite started a new conversation+100 XP

2mos ago

Video playback speeds in Laracasts

Hi! I noticed the 0.5x and 0.75x playback speeds were removed from the new player. As a non-native English speaker, slower speeds are essential for following along with subtitles while coding. Would it be possible to bring them back? Thanks for the great content!

thesnakebite's avatar

thesnakebite wrote a comment+100 XP

4mos ago

thesnakebite's avatar

thesnakebite wrote a comment+100 XP

4mos ago

Everything New in Livewire 4: Ep 2, View-Based Components

@andrewmenich Same mistake... 👨🏻‍💻🌍Livewire😍

thesnakebite's avatar

thesnakebite started a new conversation+100 XP

4mos ago

Media Uploads for Workshop the Laravel Course - Best Approach?

Following Jeffrey, Jeremy, and Simon's Workshop the Laravel, I extended the application with search, bookmarks, and guest access. Now I want to add image/video uploads to posts.

Stack: Laravel 12 + Inertia v2 + Vue 3

Requirements:

  • 1-4 images OR 1 video per post
  • Image preview before publishing
  • Display in the timeline

Options I'm considering:

  1. Native Inertia useForm() + file inputs
  2. FilePond (excellent UI, but overkill?)
  3. Spatie media library

Questions:

  • Which approach is best suited for Twitter-style posts?

  • Any drawbacks to Inertia and file uploads?

  • Direct storage or temporary uploads?

I'm inclined to start simple and iterate. What do you think? 🙏

thesnakebite's avatar

thesnakebite wrote a comment+100 XP

4mos ago

The Laravel Workshop: Ep 64, Section 4: You

Hi team, First of all, thank you so much for the content; it's been very valuable to me. Second... I'm extending PIXL to allow users to upload images and videos along with their text posts. What's the recommended approach for this in 2025? Spatie Media Library, Laravel native storage, or is there something newer I should consider? Thanks for any guidance.