Andre's Larabits
Here, you'll find Andre Madarang's personal collection of Larabits. If you're unfamiliar, Larabits are short, isolated lessons that focus on a single concept or technique. While a typical series may take hours to work your way through, Larabits are instead for when you have five or ten minutes to pick up a small bit of knowledge.
Please keep in mind that each of these lessons is self-contained and may be viewed in any order. Happy learning!
Series episodes
Hello, Petite Vue
13m 18sPetite Vue is an alternative distribution of Vue optimized for "sprinkling in" little bits of interactivity within...
Headless UI Quick Look
12m 30sBuilt by the team at Tailwind CSS, Headless UI is a set of accessible unstyled UI components...
From PHPUnit to Pest
13m 40sPest is a wrapper around PHPUnit that's all about removing distractions and simplifying your tests as much...
Laravel Factory Tips
14m 17sIn this Larabit, we'll take a look at some useful tips and tricks around factories, Faker, and...
3 Useful Alpine Plugins
14m 11sThe latest version of Alpine now supports plugins that allow for additional functionality. In this Larabit, we'll...
Signed Routes in Laravel
13m 1sIn this Larabit, we'll take a look at using signed routes in Laravel to ensure that links...
How to Handle Address Autocompletion
13m 50sWhen working with address text inputs, offering autocompletion makes for a much nicer user experience. In this...
Vue Options API to Composition API
14m 33sLet’s take a look at how we can convert the Options API to the Composition API in...
8 Tips for Formatting Dates with Carbon
11m 47sCarbon is a wrapper around PHP’s DateTime class and provides a variety of useful functionality as well...
Make it Prettier
11m 25sPrettier allows you to forget about formatting and just focus on your code. Not only does this...
Simple Ways to Clean up a Massive Routes File
11m 30sAs your application grows, you'll find yourself with a large routes file. If you're not careful, it...
Laravel Breeze API and Next.js
10m 44sLaravel Breeze now ships with an option to only scaffold the API routes needed on the backend...
Moving Around Quicker in VS Code
15m 40sLet's take a look at a handful of shortcuts and extensions you can utilize to help you...
Simplify Your JavaScript With These Array Methods
12m 19sThe map, filter, and reduce JavaScript methods allow you to write your code using a more functional...
Dive into Laravel's Request Object
16m 23sLet's take a look at some of the underlying source code for Laravel's request object. It leverages...
The Null Object Pattern in Laravel
10m 29sThe Null Object Pattern is a pattern that helps get rid of conditional code by making use...
View Presenters using Traits
4m 17sView Presenters allow you to store your presentation logic in a dedicated spot. In this Larabit, we...
The State of Vue in 2022
9m 7sIn this Larabit, we take a look at the changes and improvements that Vue and its ecosystem...
Tips and Reminders Before Moving an App to Production
7m 39sIn this Larabit, we take a look at a few things you should be doing before moving...
The New Stripe Payment Element
17m 4sThe Stripe Payment Element is an embeddable UI component that lets you accept multiple forms of payment...
Enums in Laravel
14m 39sNative Enums were added to PHP 8.1 and give us a place to store a collection of...
CSS Subgrid
7m 45sCSS Subgrid allows child grid items to align with the grid of its parent. This can result...
Vitest Unit Test Framework
12m 8sVitest is a test runner that is powered by Vite. It offers features like hot module reloading,...
5 New'ish CSS Properties
11m 58sIn this Larabit, we take a look at 5 newer CSS properties that have made it into...
Modern Dates with the Temporal API
16m 12sThe Temporal API in JavaScript is set to replace the outdated Date object, which has been around...
Structuring your Web Apps - Monolith vs SPA
10m 9sWhen it comes to structuring your web applications, the two most common approaches are the monolith approach...
Internationalization API in JavaScript
12m 1sInternationalization and multiple locales can be tricky when it comes to numbers, currency, dates and plural rules....
Web Share API
11m 37sThe Web Share API makes use of your browser's native share controls, if it is supported. If...
Bringing Page Transitions to the Web
16m 29sMobile apps have been making use of standard APIs for page transitioning for many years now. As...
A New Kind of Static Site Generator
21m 30sAstro is a static site generator that has quickly gained in popularity over the last year or...
Bundling Assets with Laravel Vite
18m 49sVite is now the default module bundler for new Laravel projects. Its best feature is an incredibly...
How to Service Multiple API Clients with Laravel
17m 31sA few months ago I created a mini-clone of Twitter using React Native and a Laravel API...




