Ben Bjurstrom
benbjurstrom.com
Ben Bjurstrom
@benbjurstrom.com
Laravel Developer — Building prezet.com a markdown blogging engine for Laravel.

benbjurstrom.com
Reposted by Ben Bjurstrom
First Factor One-Time Passwords for Laravel with OTPZ
First Factor One-Time Passwords for Laravel with OTPZ - Laravel News
Add First Factor One-Time Passwords to your Laravel application (ie. Passwordless OTP Login)
buff.ly
February 7, 2025 at 2:01 PM
Made a couple updates to the included templates after recording the video.
January 14, 2025 at 2:54 PM
OTPz: A first factor one-time password package for Laravel

github.com/benbjurstrom...
January 13, 2025 at 6:12 PM
Needed a simple lightbox plugin for Alpine.js so I threw this together over the weekend. Just add x-zoomable to your img tag.

Available on npm or via cdn: github.com/benbjurstrom...
December 23, 2024 at 3:55 PM
My ideal Laravel login page looks something like this. Really don't like being responsible for user's passwords.
December 13, 2024 at 3:41 AM
Created a log-in links package for Laravel and would love to get some feedback. Features:

✅ Rate limited
✅ Invalidated after first use
✅ Locked to the user's session
✅ Configurable expiration
✅ Detailed error messages
✅ Customizable mail template
✅ Auditable logs

github.com/benbjurstrom...
December 9, 2024 at 2:42 PM
Short on time so I’m spatchcocking this turkey on the grill. Should be done in an hour and a half.
December 1, 2024 at 1:18 AM
Setup Starlink for my parents. Not bad at all.

Now to mount it on the roof.
November 29, 2024 at 6:25 PM
Feels like AI works even better with strongly typed languages. Just one-shotted a golang script to cut up a video clip based on chapter markers using FFmpeg.
November 26, 2024 at 7:10 PM
If you grew up listening to Tupac stop what you're doing and go listen to Kendrick Lamar's reincarnated
November 26, 2024 at 7:06 PM
Pretty happy with the API I settled on for [pgvector-scout](github.com/benbjurstrom...).

Can set the index at the model level which then corresponds to a config value.
November 21, 2024 at 2:45 PM
Added search to my Laravel markdown blogging engine. It's backed by an sqlite index so it should be somewhat performant. See it in action on the docs site at prezet.com

Also thanks to @pixelcave-john.bsky.social for the pinemix.com command palette component.
November 20, 2024 at 3:00 PM
It’s time
November 19, 2024 at 6:52 PM
How can you search your data for a concept. Not a keyword. But rather something more abstract, like a category?
November 18, 2024 at 6:12 PM
Here’s a quick guide on adding vector similarity search to your Laravel applications using pgvector and Laravel scout.

benbjurstrom.com/pgvector-for...
Simple Vector Similarity Search For Laravel | Ben Bjurstrom
What if you wanted to search your data by a concept. Not a keyword. But rather something more abstract, like a category? How would you accomplish that?
benbjurstrom.com
November 18, 2024 at 3:02 PM
Just tagged the first release of a Laravel Scout driver for pgvector search.

Scout pairs perfectly with pgvector since its model observers keep the vector embeddings up to date.

github.com/benbjurstrom...
GitHub - benbjurstrom/pgvector-scout: ✨ Pgvector driver for Laravel Scout
✨ Pgvector driver for Laravel Scout. Contribute to benbjurstrom/pgvector-scout development by creating an account on GitHub.
github.com
November 16, 2024 at 4:27 PM
Relaxing with some light devops work on a Friday afternoon.
November 15, 2024 at 9:49 PM
Reposted by Ben Bjurstrom
Don’t know if everyone saw this, but please update the laravel framework in your projects to the current patch. It resolves a security issue.
#laravel #security

github.com/advisories/G...
CVE-2024-52301 - GitHub Advisory Database
Laravel environment manipulation via query string
github.com
November 13, 2024 at 6:49 PM
Reposted by Ben Bjurstrom
This might actually be my favourite feature of PHP 8.4, such a small thing, but it'll be so great 😅
November 13, 2024 at 6:16 AM
Just finished listening to this. Apparently Nightwatch runs a local agent that can batch up the metrics and send them off independent of the request.

Meaning your Laravel app doesn’t need to make any extra outgoing HTTP or database requests.

podcasts.apple.com/us/podcast/t...
Laracon AU Update & Nightwatch Q&A
Podcast Episode · The Laravel Podcast · 11/12/2024 · 34m
podcasts.apple.com
November 13, 2024 at 12:18 AM
Printed one I found on thingverse to tide me over until @arslan.io releases this far superior design
November 12, 2024 at 5:05 PM
Post your workstation setup.
November 12, 2024 at 4:59 PM
Excellent talk by @mandymichael.bsky.social on optimizing your HTML.

I’ve used many of the HTML features mentioned, but never really understood how they work.
November 7, 2024 at 1:57 AM
Reposted by Ben Bjurstrom
November 2, 2024 at 2:05 PM