René Sinnbeck

René Sinnbeck

@sinnbeck.dev

Laravel developer. Used to be very active on laracasts. Loves helping people 👍

115 followers140 following92 posts

This looks like an amazing release!

Pascal Baljet@pascalbaljet.bsky.social

Inertia 3 beta is here! 🚀 This is a big one. New Vite plugin, optimistic updates, standalone HTTP requests, layout props, simplified SSR, and Axios has been replaced with a built-in XHR client. Here's what's new 🧵

René Sinnbeck reposted

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.

René Sinnbeck reposted

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

René Sinnbeck reposted

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!

David Thomas MooahahahAHAHA!@dtmooreeditor.bsky.social

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]

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?

Joe Tannenbaum@joe.codes

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. ✨

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)

René Sinnbeck reposted

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...

udemy.comIntro 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!

René Sinnbeck reposted

Zero dependency HTML AST written in php 😁

René Sinnbeck@sinnbeck.dev

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...

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.comGitHub - 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

René Sinnbeck reposted

René Sinnbeck reposted

👋🏻 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? 💪🏻

René Sinnbeck reposted

🚀✨ 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!

René Sinnbeck reposted

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.

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

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? :/

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?

Today I learned that laravel views can also be a css file 😮 Just put a css file inside the views directory and refer to it like you would a .blade.php file, and it just works!

René Sinnbeck reposted

We are running a Laracon EU ticket giveaway! The lucky winner will receive a ticket to the conference and financial assistance to cover some of the travel and accommodation costs. If you are underrepresented due to gender and want to attend the conference, the entry link is below ⬇️.

Just got done with upgrading an old project from phpunit 9.5 to 11. There were 160 deprecations found.. Luckily rectorphp could fix about 10 of them, and the rest could be fixed with some simple regex search/replace in phpstorm.

René Sinnbeck reposted

Laravel Tip💡: The New "RouteParameter" Attribute Laravel v11.28 introduced a new attribute "RouteParameter", which provides an elegant way to access route parameters. While you can use the "route()" method on form requests, with the new attribute you also get proper type hints 🚀 #laravel

René Sinnbeck reposted

Laravel Tip 💡: Conditionally Hide Console Commands Sometimes, you may want to hide console commands, such as legacy commands, from being listed. While you can manually hide them using the "setHidden()", you can do this with the "isHidden()" method 🚀 #laravel

René Sinnbeck reposted

Replying to @simonhamp.me

Ok, I think I found the cause... it looks like it's something to do with Link header and potentially something that InertiaJS is doing to make preloading of modules work really fast For a complex view/component tree, it seems it can blow past nginx's default buffer size quite rapidly

René Sinnbeck reposted

🐘 PHP developers, it's ElePHPant time! Want this adorable plush companion for your coding adventures? We've got 5 to give away 😌 To enter: 💙 Like ↩️ Repost this post ✌️ Follow us

Managed to fix it. Apparently I had once played around with rector in the project leaving behind a rector file not committed in git. Deleting it fixed everything :D

I think it might have something to do with Rector php. It is a dependency of laravel-ray from Spatie. Removing that seems to have fixed it... Now I just need to figure out how to get them to work together

Just giving blender a try. The tutorial I am following tells me to enable f2 but it seems to be removed from the newest blender version? I'm curious why. I found it as a community plugin but is there now a better plugin that people use?

Bluesky seems sooo nice so far! I can very easily just read laravel posts, and there are new ones constantly. Currently my only gripe is that the chat could use some work, but I'm sure that's on its way 👍

You are up to date.