ð¡ Advanced @laravelphp tip!
If you’re using the $attributes variable in a Blade Component, you’re using the ComponentAttributeBag class, which is macroable ð
I wrote a macro to dynamically toggle classes by accepting an array, just like v-bind:class in Vue.js! #Laravel #PHP pic.twitter.com/Uis7hykv20
— Pascal Baljet (@pascalbaljet) February 3, 2021
PHP
Oh Dear is now mobile-friendly
Every page in Oh Dear now works on mobile. Not just slapped-on media queries, but reworked layouts: a floating action button for navigation, dedicated mobile card views for monitor lists, scrollable tables with fade hints, Read more…