swapnil.devRemote Laravel Development with Tailscale, Herd & Mac Studio - The Complete GuideA few days ago, I came across a post from Scott Tolinski on X about his remote development setup. He'd put together a full video walkthrough showing how he works on his home machine from anywhere. It was slick, but it was built around a JavaScript/No...Feb 8·10 min read
swapnil.devUpgrading My Home Network with Mesh WiFiThis isn't a typical how-to guide—it's the story of my experience upgrading my home network. I'm not an expert, but I learned a lot along the way, and I hope sharing my journey might help others facing similar challenges. Recently, I decided to tackl...Oct 16, 2024·5 min read
swapnil.devAuthentication in Nuxt.js using Laravel SanctumYou should never save authorization tokens in local storage or cookies, as they can be accessed by any third-party JavaScript code running in the user's browser. By simply using a code like this localStorage.getItem('auth_token'), tokens can be stole...Apr 22, 2022·7 min read
swapnil.devHow to configure Laravel Cashier with multiple modelsI recently worked on a Laravel project which had the requirement of two authenticable models along with separate subscriptions. The project, of course, was using Laravel Cashier to manage user subscriptions. By default, Laravel Cashier assumes the Ap...Jan 2, 2021·9 min read