ð¡ 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
★ Generate Apple and Google Wallet passes from Laravel
A mobile pass is that thing in your iPhone’s Wallet app. A boarding pass, a concert ticket, a coffee loyalty card, a gym membership. Apple calls them passes. Google calls them objects. Both Wallet apps Read more…