| Blog | https://dyrynda.com.au |
| GitHub | https://github.com/michaeldyrynda |

| Blog | https://dyrynda.com.au |
| GitHub | https://github.com/michaeldyrynda |
🐘 Want to see which of your dependencies have a new (major) release? There’s a Composer command for that!
`composer outdated`
#php
Kinda sad you can’t use enum members as keys in a WeakMap. Gotta use SplObjectStorage which can have garbage collection (or lack thereof) implications.
The latter is not nearly as concise, either.
I've had the idea for a weird kind of Twitter client for years. With Mastodon being all open, I've decided to do the experiment:
What if your Timeline looked like iMessage. A normal timeline confuses me to no end because everything is out of context.
My experiment, Ebou, is a Mastodon client that looks like iMessage. Conversations are grouped by friends and sorted by recent postings.
It is super basic right now, but this already feels much more natural to me 😀
Thanks for having me #LaraconEU Lisbon! I hope everyone had a lot of fun hacking Laravel! Don't forget to Th1nk Lik3 a H4cker to keep your apps secure! 🥷 😈
To learn more about hacking and security, checkout: https://practicallaravelsecurity.com
Here are some simple rules I follow for authorization logic in my #Laravel apps: assign permissions to roles (not users), assign only roles to users (never permissions), always check permissions (not roles). And the roles/permissions mapping should be setup in code, not managed through a UI.
Oh, and use the fantastic Spatie package, don't hand roll your own logic: https://spatie.be/docs/laravel-permission/v5/introduction
Every time I've worked in an app that strayed from these rules, it's been a mess.
Looking to pick up a little side consulting/advising/pairing/coaching for Laravel or PHP. I need to take care of an emergency vet bill.
Hit me up if you have anything. It will be nights & weekends, no more than 30 hours probably.
I'm really enjoying the additional types being added to #Laravel. For example, the generics added to factory classes. I can remove so many more "var" docblocks in my tests.
It reduces noise in my tests without sacrificing the helpful static analysis tooling I've come to depend upon.
Just noticed I'm only 4 off from 100 paid subscribers on Laravel Security in Depth. 😲🥰
So if you've been thinking about it, now's a great time? https://larasec.substack.com/blackfriday22 😉
In all seriousness, thank you for the support! It's grown far more than I'd ever imagined!
#laravel #PHP
Each month we dive into Laravel Security concepts through code examples, recent updates, interactive challenges, and hacking techniques, covering the essential topics you need to know to keep your apps secure. Click to read Laravel Security In Depth, by Stephen Rees-Carter, a Substack publication with thousands of readers.