René Sinnbeck

@sinnbeck.dev

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

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.

A screenshot from PHPStorm

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

Bild

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 · last yr.

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)

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

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

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

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.

Code snippet: <?php  namespace App\Filament\Traits;  use Filament\Facades\Filament;  trait HasTenantAwareSessionKeys {     public function getTableFiltersSessionKey(): string     {         $table = md5($this::class.Filament::getTenant());          return "tables.{$table}_filters";     }      public function getTableSearchSessionKey(): string     {         $table = md5($this::class.Filament::getTenant());          return "tables.{$table}_search";     }      public function getTableSortSessionKey(): string     {         $table = md5($this::class.Filament::getTenant());          return "tables.{$table}_sort";     } }

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

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! 🧪🧵⬇️

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!

BildBild

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