你可能会喜欢
I promised another thread with Inertia.js updates, so here it is! 💪 Let's kick things off with the Laravel adapter, which now includes two new interfaces ⬇️
Laravel 12.22 will drop except() to Eloquent 🎉 Easily exclude model instances or collections from your queries — no more manual ID handling ✨ A small feature, but a big win for developer experience 💪
Nice work and presentation @enunomaduro, i'm very happy for u ;) #pestphp #pest4 #laracon #laraconus #laravel
Prime YEKINDAR might be coming back... 🇱🇻🤯
Legacy hand Vitality their first loss since January 🤯
📡
Even with the new Echo hooks we recently released, listening to broadcast notifications was still a little clunky. No longer: introducing `useEchoNotification`, a seamless way to listen for broadcast notifications in your client code.
By @OnAirMarc I think I like this the most so far! Embeds Laravel conventions throughout 🤌
I used dispatch(). It takes in any parameters the action requires, authorizes that the action is allowed to occur, and then calls the handle() method to perform the action. I wrote an abstract class here to handle this: github.com/EncoreDigitalG…
Laravel Tip 💡: Use Contextual Attributes You probably had to initialize attributes with config values before. Laravel makes it easier with contextual attributes. You can inject values directly, use constructor property promotion, and skip the boilerplate. It's just elegant 🚀
#Laravel Tip If you want to automatically delete old entries, you can use the Prunable Trait. No need to write custom commands:
What’s the best AI slides / presentation generation app right now?
Be mindful if you've stored your app's store URL statically in your code: Apple App Store links change when apps are transferred to another account. This is especially crucial for force updates: users will be redirected to an error page. The "versionarte" package offers a…
PHP 8.5 is going to be insane. Just posted a quick video where I go over the new pipe operator. I’m pretty hyped about it! Check it out: youtu.be/mNWA0N2mCFM.
We just shipped big improvements to Laravel Echo. 📡 First, the install:broadcasting experience is improved. We now prompt you for the relevant credentials, write the corresponding .env variables, and more.
Laravel 12.8.0 introduced `Rule::anyOf()`, allowing a field to be validated against multiple predefined rule sets, ensuring that at least one set fully passes. Massively simplifies potentially complex validation logic. In this example, we'll allow max 10MB for videos and 2MB…
So excited to announce my first iOS app has launched! Clocks is a more fun standby mode for your entire setup. Turn your phone, ipad, or mac into a beautiful clock display. It's available in the app store now, link below. Happy to answer any questions about my process!
We shipped a cache memoization feature to Laravel today. 🚀 Cache::memo let's you decorate any cache store with a memoized wrapper, allowing you to temporarily store resolved cache values in memory during a single request or job execution. This prevents repeated cache hits…
Just started to use Scramble (@laravelphp OpenAPI (Swagger) Documentation Generator) made by @romalyt and its insanely easy to use. 👏 #laravel
MySQL Partitioning 101 Split a 640MB table into yearly chunks. Queries for 2024? Scan just the 160MB 2024 partition file. Less disk I/O = faster results.
United States 趋势
- 1. Louisville 52.2K posts
- 2. Jets 129K posts
- 3. MD-11 12.7K posts
- 4. Honolulu 4,519 posts
- 5. Courtois 67.5K posts
- 6. Sauce 87.6K posts
- 7. Madrid 427K posts
- 8. Liverpool 295K posts
- 9. Colts 62.3K posts
- 10. Jared Isaacman 4,738 posts
- 11. Cheney 275K posts
- 12. UPS Flight 2976 8,051 posts
- 13. Breece Hall 12.7K posts
- 14. #いい推しの日 813K posts
- 15. Beane 6,252 posts
- 16. Azzi 5,278 posts
- 17. Quinnen Williams 29.8K posts
- 18. McDonnell Douglas 5,008 posts
- 19. Conor Bradley 32.4K posts
- 20. #OlandriaxGlamourWOTY N/A
Something went wrong.
Something went wrong.