René Sinnbeck
sinnbeck.dev
René Sinnbeck
@sinnbeck.dev
Laravel developer. Used to be very active on laracasts. Loves helping people 👍
Reposted by René Sinnbeck
Quick PHPStorm pro tip: adding "@formatter:off" to the top of a blade markdown email file will stop it automatically indenting on save and turning your entire markdown block into a code block.

This is handy because it leaves the auto-formatter on for all other blade files.
October 30, 2025 at 10:49 AM
Reposted by René Sinnbeck
Hey Firefox users.
August 29, 2025 at 9:15 PM
Reposted by René Sinnbeck
We are giving away a ticket to @laravellive.dk! Want to meet the Laravel community in real life? Don’t miss this chance!

✨ Enter now and see you in Copenhagen!✨

Only eligible people apply. Thank you!

#Laravel #LarabellesPHP #LaravelLiveDK

larabelles.com/giveaway/lar...
Larabelles
Larabelles is a community for PHP and Laravel developers under-represented due to their gender.
larabelles.com
July 21, 2025 at 10:22 PM
Reposted by René Sinnbeck
Laravel Tip 💡: Real-Time Download Progress

If you ever need to download a file in your Laravel app, consider using Guzzle's progress option. It gives you real-time updates on the download, which you can broadcast to your UI, display in the console, or handle however you like 🚀

#laravel
June 10, 2025 at 7:57 PM
Reposted by René Sinnbeck
For those who missed it Thursday, I did a long thread on the clifftop duel scene in The Princess Bride, picking out the historical swordfighting references and what they mean in context.

Enjoy!
As you may know, I have stopped using Twitter, and have decided to reproduce some of my more memorable threads here for posterity. Here’s one I hold wrote after a particularly engaging swordfighting lesson.

Buckle up, swordfighting fans, because I *have* studied my Agrippa!

[BIG ASS THREAD]
a man reading a book to a young boy
Alt: a man reading a book to a young boy
media.tenor.com
June 9, 2025 at 9:43 AM
Cool proof of concept. I wonder if anyone has made a full working system? For instance, if the user refreshes the browser or network changes, how do we ensure that the call is still completed and saved to the database. Use jobs are a man in the middle?
One of my favorite features of the `useStream` hook we released yesterday:

If you are reading/writing from the same stream across multiple components, you can simply pass the same `id` to all of the hooks and everything will stay in sync.

Automagically. ✨
June 3, 2025 at 10:51 AM
Reposted by René Sinnbeck
I haven't shared any progress about mago here recently, but big things are coming!

#rust #php #staticanalysis #mago
May 20, 2025 at 7:10 AM
I am looking into setting up a server for transcribing audio. I was planning on using LocalAI along with the openai-php client. Sadly it seems that they are incompatible due to LocalAI not sending the "seek" part of the response. What are others using? I cannot use ChatGPT directly (GDPR)
May 16, 2025 at 10:29 AM
Reposted by René Sinnbeck
I've reached 1000 subs on my YouTube channel! In celebration, I'm giving away my 3D godot course for the first 1000 people! Click the link to access!

#godot #giveaway #gamedev #indiegames #indiedev #solodev #udemy #youtube
www.udemy.com/course/godot...
Intro to 3D Game Development Masterclass in Godot!
Learn how to build a 3D game from scratch in the Godot game engine with character controls, menus, dialogue, and items!
www.udemy.com
April 27, 2025 at 7:54 PM
Reposted by René Sinnbeck
Mark your calendars: on June 17th we'll celebrate PHP's birthday with PHPverse: a free and online event for the whole community!

You can check out the details and register here: jb.gg/phpverse-brent
JetBrains PHPverse 2025 – Online Event Celebrating 30 Years of PHP
Join us for a free virtual event as we celebrate PHP’s 30th anniversary with top experts and thought leaders. Enjoy insightful talks, exciting announcements, and a look at the future of PHP developmen...
jb.gg
April 24, 2025 at 12:41 PM
Zero dependency HTML AST written in php 😁
I was in need of a tool that could format HTML properly. I tried DOMDocument but found it was removing a lot of my markup in the process. Then I saw Tempest had ab AST for its views. It inspired me to write my own! Its not quite ready for release, but its getting close!

github.com/sinnbeck/htm...
GitHub - sinnbeck/html-ast: An HTML AST (Abstract Syntax Tree) parser written in PHP.
An HTML AST (Abstract Syntax Tree) parser written in PHP. - sinnbeck/html-ast
github.com
April 16, 2025 at 5:56 PM
I was in need of a tool that could format HTML properly. I tried DOMDocument but found it was removing a lot of my markup in the process. Then I saw Tempest had ab AST for its views. It inspired me to write my own! Its not quite ready for release, but its getting close!

github.com/sinnbeck/htm...
GitHub - sinnbeck/html-ast: An HTML AST (Abstract Syntax Tree) parser written in PHP.
An HTML AST (Abstract Syntax Tree) parser written in PHP. - sinnbeck/html-ast
github.com
April 14, 2025 at 10:26 AM
Reposted by René Sinnbeck
If you've been following along with my Dusk experiments, I just put up a draft PR: github.com/laravel/dusk...

If you have a big Dusk test suite, I would *love* for you to pull down my version and see how it works for you…
[9.x] Handle requests in test (rather than separate server process) by inxilpro · Pull Request #1170 · laravel/dusk
Right now, Dusk makes requests to a separate server process. This has a few downsides: Test setup needs to run via special _dusk/ routes rather than using normal factories/setup Special .env.dusk ...
github.com
April 8, 2025 at 5:51 PM
Reposted by René Sinnbeck
👋🏻 Meet Whisp - a pure PHP SSH server built specifically for PHP TUIs 😍

Run your PHP CLI apps through SSH with *ridiculous* simplicity. No friction. Just shipping. 🚀

Available right now, with even more coming soon ∙ What will you ship? 💪🏻
April 3, 2025 at 1:34 PM
Reposted by René Sinnbeck
🚀✨ GIVEAWAY ALERT! ✨🚀

We have teamed up with Moonbase Labs
to send two lucky Larabelles to Laracon US 2025 in Denver, Colorado! 🔥

We’ll provide the ticket plus a financial contribution to help with your travel and accommodation expenses - so don’t miss out and enter below!
March 25, 2025 at 11:40 PM
Reposted by René Sinnbeck
Filament Tip: Persist Table Filters, Sorts, and Searches per Tenant

When you use persist<Type>InSession() methods on a table, the same filter, sort & search settings persist across all tenants.

Apply this trait on your ListRecords pages and they are stored per tenant.
March 14, 2025 at 12:53 PM
Reposted by René Sinnbeck
This post about database design is soon three years old, but it is still very valid. So why not give it a read, and if you already read it, do it again ;)

#laravel #databases

tray2.se/posts/databa...
Tray2's Personal Blog
HEre you will find post about databases and Laravel
tray2.se
January 31, 2025 at 11:21 AM
Was @media removed in @tailwindcss.com 4.0 or is it simply missing it the docs?

tailwindcss.com/docs/functio...
Functions and directives - Core concepts
A reference for the custom functions and directives Tailwind exposes to your CSS.
tailwindcss.com
January 26, 2025 at 2:54 PM
I love the action class idea used a lot in laravel. But I'm curious where people put getters? I see actions more as commands (like the commands in cqrs). I was concidering Queries, but it feels a bit look close to sql queries
January 23, 2025 at 6:45 PM
Reposted by René Sinnbeck
Tons of tips (+300), now categorized 🙌

github.com/OussamaMater...
GitHub - OussamaMater/Laravel-Tips: Daily Laravel and PHP tips.
Daily Laravel and PHP tips. Contribute to OussamaMater/Laravel-Tips development by creating an account on GitHub.
github.com
January 19, 2025 at 8:25 PM
Reposted by René Sinnbeck
THIS IS HUGE! Researchers at Stanford Medicine have devised an influenza vaccine that prompts immunity to ALL four major flu subtypes AND shows potential against bird flu, indicating a significant advancement in flu prevention and a potential increase in vaccine efficacy. Let’s talk about that! 🧪🧵⬇️
January 2, 2025 at 5:00 PM
I am just upgrading a Laravel app to version 11. It seems that collection methods like shuffle no longer accepts a seed value. I dont see this anywhere in the upgrade docs?! Luckily my tests caught it before deploying to prod, but this is quite a breaking change with no documentation? :/
January 2, 2025 at 12:43 PM
Has anyone had success setting up reverb on @ploi.io ? I hit the Spawn server button, but I dont see any change to my nginx config? Am I supposed to set up nginx myself perhaps ?
December 23, 2024 at 7:21 AM
Reposted by René Sinnbeck
TIL: In Laravel tests, you can use AnonymousNotifiable to test notifications without tying them to a specific User or Notifiable (on-demand). Super handy for testing Slack notifications, which often don’t have a direct owner.

Oh, Laravel. ❤️

laravel.com/docs/11.x/no...
laravel.com/api/master/I...
December 20, 2024 at 1:52 PM
Any css/xpath experts around there?

I have an issue with CssToInlineStyles in laravel.
Tailwind creates this selector. [hidden]:where(:not([hidden=until-found])) which gets converted to descendant-or-self::*[(@hidden) or (not(@hidden = 'until-found'))] by CssToInlineStyles. It matches everything?
December 19, 2024 at 7:57 AM