내가 좋아할 만한 콘텐츠
If you're using Tailwind, don't sleep on child selectors. They clean up your styles and eliminate repetition. Vibe coding agents aren't smart enough to do this. (if you're using CSS, keep scrolling)
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…
See, even Wes Bos doesn't know it all! He's still out here sharing what he's learning! You can do the same. And yes, people will likely tell you that they already knew that. That's ok.
🤯 How am I just finding out about display: contents; Suuuuper handy for CSS Flexbox + Grid where the children aren't direct descendants.
Needed to find out if there’s a way to dynamically change your database when working with Laravel Eloquent, lo and behold @fideloper has me covered! fideloper.com/laravel-multip…
If you're working on an app locally that requires several S3 disks, you can add what I call a "filesystem mock" feature, enabled via your app config. Benefits: - Don't need AWS credentials - Don't need an internet connection - Don't pollute the S3 buckets with test files
Understanding OAuth OAuth is an open standard that allows users to grant limited access to their data on one site to other sites or applications without exposing their passwords. It has become the backbone of secure authorization across the web and mobile apps. The OAuth…
Responsive HTML table with sticky columns and mobile view created using only CSS and HTML ✨ CodePen link below 👇
💡Quick Eloquent tip: If you have a many-to-many relationship with a pivot table and extra columns, you can use the updateExistingPivot to update the extra column's value. In this example, I need to update the status of a given subscriber:
Now that everyone is playing around with @pestphp, let's not forget to perform architecture tests for clean code, my friends! 🧼
Tired of manually formatting your Laravel code? Laravel Pint is the answer. Built on top of PHP-CS-Fixer, it ensures automatic, uniform styling so you can focus on the code. Here's a guide to set it up with PHPStorm and Docker (Laravel Sail), step by step.
Want to ensure code quality for your Laravel project? Set up Larastan! ✅ But, it can be tricky to get PHPStorm and Docker working together with Laravel Sail. Here's how to do it:
Insanely important tip: make sure to specify the PHP version you're using in production in your "composer.json" file. This way, composer will create the "composer.lock" file specifically for that version. Don't skip this step if you want everything to work smoothly.
No more excuses not to test! 🚫 Thanks to this code, I'm testing media download from a temporary signed route using Laravel and Pest. 🙌🏼 The perfect combo! 🔥 #laraveltesting #pestphp
🔗 Concurrent, Chunked, Multi-File Upload with Livewire (by @KTan360) fly.io/laravel-bytes/…
I know it's been mentioned a million times at this point, but this test is invaluable using @pestphp 2.
This is a valid Dockerfile for a NodeJS application. It is also a pile of 💩! We can improve: - 🔒 Security - 🏎️ Build speed - 👁️ Clarity Follow along as we go from 💩 to 🥇! (code in alt text)
The View Transitions API for Single-Page Apps (SPAs) is in Chrome 111 (the new stable)! 😍 Check out @jaffathecake's fantastic guide bit.ly/view-transitio… and this awesome demo from @charca
🔥 Laravel Tip: Just discovered the Laravel 𝘄𝗶𝘁𝗵𝗧𝗼𝗸𝗲𝗻 method to quickly add a bearer token to the request's Authorization header - making API calls so much simpler, faster, and more secure. #Laravel
For the ones that are using Laravel with Vue and need to use i18n on both backend and frontend. I created this package, Laravel Vue i18n, and the setup is easy as this. Github: github.com/xico2k/laravel…
🔥 Laravel Tip: Nested Eager Loading on Polymorphic Relationships. Sometimes you need to eager load different relationships depending on the type of model on a polymorphic relationship. This is super easy to do with the `morphWith` method.
United States 트렌드
- 1. LeBron 76.7K posts
- 2. #DWTS 52.6K posts
- 3. #LakeShow 3,717 posts
- 4. Whitney 15.8K posts
- 5. Keyonte George 1,827 posts
- 6. Reaves 7,889 posts
- 7. Peggy 17.8K posts
- 8. Celebrini 4,575 posts
- 9. Elaine 17.4K posts
- 10. Orioles 6,810 posts
- 11. Jazz 26.8K posts
- 12. Grayson 6,934 posts
- 13. #TheFutureIsTeal 1,491 posts
- 14. Taylor Ward 3,454 posts
- 15. Dylan 25K posts
- 16. #WWENXT 16.8K posts
- 17. Tatum 15.8K posts
- 18. Winthrop 2,479 posts
- 19. #Lakers 1,594 posts
- 20. Angels 31.9K posts
Something went wrong.
Something went wrong.