Bernhard Kraemer
banner
bernhard.codes
Bernhard Kraemer
@bernhard.codes
Software Engineer, mostly using #PHP / #Laravel

Tech Lead @ pushdocs.io
Software Engineer @ GetMyInvoices.com

📍Dietramszell, Bavaria, Germany
🌍 https://bernhard-kraemer.com

🧑🏻‍💻 Pair with me: https://cal.com/bernhardk/pairing
What are you using to track your finances 💸, like debt, assets, and net worth. I am curious to see what you use instead of a spreadsheet. 😊

For me currently, assets are more important than tracking income and expenses.
January 27, 2025 at 9:44 PM
Reposted by Bernhard Kraemer
Canary Tokens are one of those tools I am always amazed no one uses. They are so easy to use, and completely free, and but I never see them in the wild. 🧐

Check them out: https://canarytokens.org/
Security Tip: Canary Tokens
[Tip#31] These are my favourite simple security trick to let you know if someone is poking around in your stuff.
securinglaravel.com
January 10, 2025 at 6:04 AM
Reposted by Bernhard Kraemer
I could use your help gathering some data for my upcoming Laracon EU talk.

If you ever had a slow Laravel application/slow request/slow command/etc. - what was the reason for it?

Would be great to get as many replies as possible. Please share for reach 🙂
January 9, 2025 at 2:47 PM
Reposted by Bernhard Kraemer
"Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale"

If you also allow users to upload .php files into a directory where they could be executed, your site is vulnerable to a remote code execution.

#PHP #ComposerAudit #CVE #InfoSec

github.com/advisories/G...
CVE-2025-22145 - GitHub Advisory Database
Carbon has an arbitrary file include via unvalidated input passed to Carbon::setLocale
github.com
January 9, 2025 at 3:17 AM
TIL: When running Laravel behind a proxy or load balancer, "Trusted Proxies" are your solution
1️⃣to have access to the original host and protocol, and
2️⃣to have all URLs setup correctly in the responses body.
January 7, 2025 at 9:54 PM
I think I found my first real bug in Laravel. I am going to create a PR with a fix tomorrow.
January 2, 2025 at 9:07 PM
Merry Christmas 🎄
December 24, 2024 at 3:03 PM
Reposted by Bernhard Kraemer
Hey, I’m Sam 👋

I create visual and interactive guides to programming concepts. Here’s some of my work:

- samwho.dev/load-balancing
- samwho.dev/memory-alloc...
- encore.dev/blog/queueing

I also gave a talk about my work that you can watch here: www.youtube.com/live/Y3t4a8W....
October 20, 2024 at 10:03 PM
If you are a Windows user, I'd highly recommend using UniGetUI to keep your tools up-to-date.

www.marticliment.com/unigetui/
December 22, 2024 at 6:25 PM
Reposted by Bernhard Kraemer
🚀 Exciting news for Laravel developers!

The Laravel VS Code extension is now in public beta. Enjoy enhanced autocomplete, navigate easily, and streamline your workflow. Dive in and start boosting your productivity with this official tool today!
https://laravel-news.com/laravel-vs-code-extension-p…
Laravel VS Code Extension Public Beta - Laravel News
The long awaited public beta of the new Laravel VS Code Extension is finally here.
buff.ly
December 16, 2024 at 4:58 PM
After having a great time pairing with @benholmen.com today and @sassnow.ski a few weeks ago, I've created my own cal.com link.

If you are interested in brainstorming ideas, solving a problem or just having a chat, feel free to select a slot:

cal.com/bernhardk/pa...
Pairing | Bernhard Kraemer | Cal.com
Pairing
cal.com
December 16, 2024 at 6:35 PM
Have you ever tried to write your commit message before writing your code changes?

„Know Your Next Commit“

intentionalcommits.org/know-your-ne...
Know Your Next Commit - Intentional Commits
intentionalcommits.org
December 14, 2024 at 1:45 PM
Reposted by Bernhard Kraemer

🚀 Laravel Backend Dev Seeking Opportunity! 💻

Need a talented PHP/Laravel developer? RT & SHARE to help me find my dream internship! 🙏

Passionate about:
- Crafting elegant backend solutions
- Transforming ideas into code

Help a future tech innovator? One click could change my career!
December 12, 2024 at 5:00 AM
Reposted by Bernhard Kraemer
🔒 Just learned #PHP versions now get 4 years support (2yr active + 2yr security), up from 3! PHP 8.4 will be supported until end of 2028. Love that all versions now end on Dec 31st. Easy to remember!
November 27, 2024 at 9:38 AM
If your users have to create an OAuth App in your application and provide client ID and client Secret before they can go through the OAuth flow, you misunderstood how OAuth works.
December 7, 2024 at 3:58 PM
After working with a lot of APIs in the last months:

• Good APIs are rare
• Good API docs are rare
• Good partner management is rare

Having all three at once is very rare.
December 7, 2024 at 11:15 AM
📄 pushdocs.io now supports uploading documents to "Amagno".
December 5, 2024 at 5:20 PM
Having one of my domains now as my bsky handle: @bernhard.codes
December 5, 2024 at 5:16 PM
Had a great chat with @sassnow.ski today. We talked about a lot of different topics. I am very looking forward to learn a lot from him. Thanks again for your time, Kai! Talk to you soon! 😊

Fun fact: Kai lives ~30 minutes from where I live. The world is small 😁
November 28, 2024 at 8:18 PM
What do you think how tall I am? 😁

howtall.is/bernhardkrae...
How tall is Bernhard Kraemer ?
The internet is out guessing heights again
howtall.is
November 27, 2024 at 6:36 PM
Since today pushdocs.io now also supports uploading documents to:

• Zoho Books
• Zoho Invoice
• Zoho WorkDrive
• DOCBOX
pushdocs – Unified document and accounting API
pushdocs.io
November 27, 2024 at 1:54 PM
For my first and my second (current) full-time job, I started as a part-time freelancer and later been offered a full-time permanent position.
Developers that are working in the industry.
How did YOU get your first job in tech?
What was the thing, or few things, that made a big difference?
November 13, 2024 at 8:09 PM
The new E-Book by the database expert Tobias Petry is now available with a 50% Black Friday discount 🔥

If you are working with databases and want to improve your knowledge about indexes and performance you should definitely check it out.

goodindexes.com
A complete book dedicated to database indexes
Indexes can be easy. I promise.
goodindexes.com
November 13, 2024 at 7:50 PM
Yesterday, #laravel released security updates (regarding CVE-2024-52301) for Laravel 6.x up to Laravel 11.x. While there is no need to panic, you should update your Laravel application as soon as possible.

github.com/advisories/G...
CVE-2024-52301 - GitHub Advisory Database
Laravel environment manipulation via query string
github.com
November 13, 2024 at 12:15 PM