Here's a reminder: "Don't say PHP is dead without trying Modern PHP." 💡
#PHP #Programming
Here's a reminder: "Don't say PHP is dead without trying Modern PHP." 💡
#PHP #Programming
I've under-utilized PHP Attributes mostly because I couldn't be bothered to go look up the full list of ones that Laravel offers, so expect to see them more frequently in my code thanks to @christophrumpel.bsky.social 💪
I've under-utilized PHP Attributes mostly because I couldn't be bothered to go look up the full list of ones that Laravel offers, so expect to see them more frequently in my code thanks to @christophrumpel.bsky.social 💪
Is it worth a few minutes to make the platform stronger ?
Is it worth a few minutes to make the platform stronger ?
Keep in touch with some local people sharing your affinity for the Laravel framework, between Laracons.
Missed people? Let me know!
go.bsky.app/NNFmHx1
Keep in touch with some local people sharing your affinity for the Laravel framework, between Laracons.
Missed people? Let me know!
go.bsky.app/NNFmHx1
app()->bind(PaymentInterface::class, StripePayment::class);
#Laravel
app()->bind(PaymentInterface::class, StripePayment::class);
#Laravel
$varA = “a”;
function inject($callback) {
$varB = “b”;
($callback)($varB);
}
inject(function ($varC) use ($varA) {
echo $varA . $varC;
});
// ab
$varA = “a”;
function inject($callback) {
$varB = “b”;
($callback)($varB);
}
inject(function ($varC) use ($varA) {
echo $varA . $varC;
});
// ab