Oliver Nybroe's Avatar

Oliver Nybroe

@nybroe.dev.bsky.social

Software Engineer at Laravel

55 Followers  |  24 Following  |  6 Posts  |  Joined: 26.11.2024  |  1.6964

Latest posts by nybroe.dev on Bluesky

Screenshot of Home Assistant showing the automation for making the desk stand up

Screenshot of Home Assistant showing the automation for making the desk stand up

I automated my standing up desk, so now it will automatically move up randomly every 2 hour 🀣

I keep forgetting through the day to raise my desk, but now I will be forced to do it πŸŽ‰

11.02.2025 09:16 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Supercharging Rate Limiting with Cloudflare - James Brooks Enhance Laravel’s rate limiting by using Cloudflare’s Web Application Firewall (WAF) to block excessive requests at the edge, reducing server load and improving API performance.

In @jessarcher.bsky.social's Nightwatch talk she mentioned how we paired Laravel's rate limiting with Cloudflare to completely side step our servers from handling "dead requests" on Forge. Here's how you can do the same thing!
james.brooks.page/blog/superch...

04.02.2025 19:05 β€” πŸ‘ 22    πŸ” 3    πŸ’¬ 2    πŸ“Œ 1

See you there πŸ‘‹

29.01.2025 20:26 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
DevOps Engineer (EU) - Laravel Laravel is looking for the first DevOps Engineer to join our, all-remote core services infrastructure team. For this role we're only considering applications in the European timezone. We're on a missi...

I’m looking for our first DevOps Engineer to join the Core Services team at Laravel. If you’re EU based, please apply below πŸ‘‡
apply.workable.com/laravel/j/06...

28.01.2025 10:33 β€” πŸ‘ 26    πŸ” 11    πŸ’¬ 1    πŸ“Œ 2
An example of named parameters passed into a method via spreading operator on an array.

An example of named parameters passed into a method via spreading operator on an array.

A cool trick with named parameters in PHP is that you can actually pass an array with key names as the parameters and use the spread operator πŸ‘€

13.01.2025 13:43 β€” πŸ‘ 15    πŸ” 2    πŸ’¬ 2    πŸ“Œ 1
Post image

It's sometimes important to remember the differences between `all` and `toArray` in collections in Laravel, as in most cases it is actually `all` method you want to call.

Converting a model with all loaded relations to an array can be expensive.

07.01.2025 13:56 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

So why not `yes-named-argument` ? πŸ‘€

10.12.2024 09:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

I often see people navigating to methods in PhpStorm by using search in the file, however there is a much nicer way of doing it πŸ‘€

Default keybind is cmd + F12 (rebound mine to cmd + M)

10.12.2024 08:59 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@nybroe.dev is following 20 prominent accounts