Don't hardcode admin domains for auth
Stephen Rees-Carter tells how hardcoding admin domains in code can lead to security vulnerabilities
Read more [securinglaravel.com]
Stephen Rees-Carter tells how hardcoding admin domains in code can lead to security vulnerabilities
Read more [securinglaravel.com]
Here's how we handle secrets at Flare
Read more [flareapp.io]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
– wire-elements.dev - submitted by Philo
Livewire Strict helps enforce security measures and prevents you from having unprotected sensitive public properties.
Read more [wire-elements.dev]
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to encrypt queued jobs, notifications, mailables, and listeners in Laravel for improved security.
Read more [ashallendesign.co.uk]
A nice technique to prevent simple bots from harvesting your email address.
Read more [rouninmedia.github.io]
– flareapp.io - submitted by Spatie
Discover how we stopped a DDoS attack at Laracon!
Read more [flareapp.io]
– ashallendesign.co.uk - submitted by Ash Allen
Learn how to automatically hash sensitive data (such as passwords) using the "hashed" model cast in Laravel. This article also covers how to test your field is being hashed correctly.
Read more [ashallendesign.co.uk]
Recently, people started talking about a malware called “Androxgh0st” specifically targeting Laravel apps. In a recent edition of Securing Laravel, Stephen Rees-Carter wrote a good explanation of how it works. The malware targets apps with APP_DEBUG set to true. When enabled, Laravel will give…
Read more [ohdear.app]
Here's how we handle our production secrets at Flare.
Read more [flareapp.io]
Here's how my colleague Ruben managed to do this in Flare.
Read more [rubenvanassche.com]
Scary stuff, but handled very well by the Packagist team.
Read more [blog.packagist.com]
– stefrouschop.nl - submitted by Stef Rouschop
With a proper implementation of global scopes instead of local scopes, the code and security would be greatly improved. Let me illustrate this with a simple example.
Read more [stefrouschop.nl]
– stefrouschop.nl - submitted by Stef Rouschop
One caveat in Livewire (version 1 and 2) is that only public properties remain state between Livewire interactions. This shouldn’t be a problem, at least not if you’re aware of how a potential hacker would abuse this.
Read more [stefrouschop.nl]
In Oh Dear, we recently added the ability to create fine-grained API tokens that are scoped by a model. Behind the scenes, it uses Laravel Sanctum to create and verify abilities.
In this blog post, I'd like to give you a peek behind the scenes and show how we set this up.
Creating wildcard subdomain SSL certificates isn't that straightforward with Let's encrypt as a normal SSL certificate.
Read more [rias.be]
– planetscale.com - submitted by Aaron Francis
A comprehensive overview of Laravel's many safety features that can help you prevent painful mistakes.
Read more [planetscale.com]
In the SaaS'es I usually work on (Flare, Mailcoach Cloud, Oh Dear), we've recently introduced an improvement to how we handle support. We call it "auto-impersonation".
In this blog post, I'd like to tell you all about it.
A great way to go about signing git commits.
Read more [blog.1password.com]
How to swap Laravel's URL signing key is not documented, but luckily Michael wrote a good post on it!
Read more [dyrynda.com.au]
Let's take a look at the different ways to generate a random number in PHP.
Read more [php.watch]