Screencasts
Home Tag Author Help

Accessing authenticated user details with JavaScript in Laravel

If you're using Vue/Alpine or any other JavaScript in your Laravel projects, chances are at some point you'll need to grab authenticated user information. Take this snippet as an

Computed properties in Alpine.js

If you're using Alpine.js and also use a framework like Vue.js, you're probably missing computed properties right now. Up until recently, I'd been achieving things I wanted computed

Using Vuex with the Vue Composition API

While I was learning the Vue Composition API, something suddenly hit me. What about Vuex? How will I beautifully map my getters, mutations and actions like I currently do with

Using the Nuxt fetch method for effortless API sorting and filtering

If you've used Nuxt before, you're probably using the asyncData method in your pages to pre-fetch content from your API to be server-side rendered. The new fetch method in Nuxt

Build an RSS reader with Alpine.js

Alpine.js is a tiny JavaScript framework that makes declarative rendering super easy, without the weight of larger frameworks like Vue or React. While I was playing around with it,

Laravel Sanctum (Airlock) with Postman

I'm really excited to be using Laravel Sanctum, but once I fired up Postman to start testing my endpoint responses, I realised this would take a little more work than

Setting up Laravel Sanctum (Airlock) for SPA authentication with Vue.js

Laravel Sanctum (previously known as Laravel Airlock) is an official Laravel package to deal with both API token and SPA (Single Page Application) authentication. We're focusing on SPA authentication using