I really tried using spatie/laravel-data, but it was really hard to work with and I found the performance lacking. It also created a lot of work, because you basically need to define your model properties twice.
But is it really 200 depends? Don't they offer them as separated packages instead of a big bundle?
I've done some work with Google APIs in the past, and I really hope they improve their repos and docs. It was terrible and a lot was out of date, or only worked with JS.
I believe Microsoft uses numbers. The number combination is stored, with machine/user information (agent, IP, email, etc.), when the number has been used, it's marked as such. I think they remove old numbers eventually, but it's a bit more secure maybe.
Not an expert here, but magic links should be done with care, and should be verified with as much information as possible.
Magic Links aren't safe, or any safer by just using password logins.
It's best to move to passkeys and other solutions, like 2fa. A magic link can be intercepted, The best way would be to include the requested IP and/or agent also in the secure link, just to make sure.
I'm also missing this is one time, it can be re-used multiple times. I would like to say something about calling yourself a senior dev, but I try to be nice nowadays.
Views, Components, and others more per domain logic.
How do you manage things outside DNS?
I'm still wondering if multi-tenancy in Laravel is a mistake.
I really tried, but the challenges are pretty big, like loading providers, managing views and assets.
If you get more domains, it can become even bigger and a bit of a mess.
Yeah, but it isn't recommended anymore. Everyone is moving to ES6/native.
Lodash is pretty much unmaintained. Luckily Alpine is cool, but it doesn't do nice things like easy merging objects or arrays.
Wasn't there a collection based library as well?
Personally try to only use extensions you really really need. Less is more.
What do you use for JavaScript stuff in Blades?
I really want to use ES6, but Lodash makes things so much easier.
Thanks, going to checkout later. :)
Marcos and Mixing seems pretty amazing.
I believe you need to use a contract/interface for this. It will be used when you call something that implements it.
I tried getting it to work, it may cause issues when you think it's actually loaded, but it actually isn't.
How would this work with something like Livewire?
I really tried using spatie/laravel-data, but it was really hard to work with and I found the performance lacking. It also created a lot of work, because you basically need to define your model properties twice.
I fully agree that you shouldn't simply bump packages, just because it's possible.
But I do find it scary so many companies are still running unsupported and exploitable tech.
I think it's perfectly fine nowadays. You can even run tests in the cloud on your code base, to check if newer versions would work.
I do understand the bump from PHP 8.1 to 8.3 may be a bit unnecessary, but when you still run PHP5/7 you basically ask for trouble.
You would be surprised how many companies and people are still running PHP5 or PHP7.
I do think extending PHP8.1 makes a lot of sense, but I also think PHP should be pushing upgrading more.
I really like PWAs, but it's a shame Apple, MS and Google don't seem to care about them.
Post::query()->latest()
Ah! Sorry about that one.
But is it really 200 depends? Don't they offer them as separated packages instead of a big bundle?
I've done some work with Google APIs in the past, and I really hope they improve their repos and docs. It was terrible and a lot was out of date, or only worked with JS.
Unfortunately some tools still need eval (or evil), just because they require executing something.
The best way to protect yourself, is to run it inside a container or VM. PHP also allows setting a base path.
Hmm, why do you load all APIs and why should someone have to adjust composer.json for this?
That's not true, they should be one time use only.
I believe Microsoft uses numbers. The number combination is stored, with machine/user information (agent, IP, email, etc.), when the number has been used, it's marked as such. I think they remove old numbers eventually, but it's a bit more secure maybe.
Not an expert here, but magic links should be done with care, and should be verified with as much information as possible.
You could add something like an ID inside the secure link. But it's maybe better to not use this solution at all.
I do understand the point of magic links, but I really hate then for auth stuff.
Magic Links aren't safe, or any safer by just using password logins.
It's best to move to passkeys and other solutions, like 2fa. A magic link can be intercepted, The best way would be to include the requested IP and/or agent also in the secure link, just to make sure.
I'm also missing this is one time, it can be re-used multiple times. I would like to say something about calling yourself a senior dev, but I try to be nice nowadays.
I saw this too, I'm going to ignore it. But I think they try to say, you don't have to migrate everything, it works fine how L10 is doing.
I know, but they did change a lot, like the whole infrastructure and foundation.
Am I complaining? No, but it's a big change, a lot more compared to previous versions.
How painful is upgrading?