rvxlab/laravel-htmx-starter

An opinionated Laravel starter kit with Htmx and all kinds of tooling ready to go

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

Type:project

dev-main 2025-06-07 06:05 UTC

This package is auto-updated.

Last update: 2025-06-07 06:06:47 UTC


README

Laravel Logo HTMX Logo

Laravel HTMX Starter Kit

A heavily opinionated starter kit for Laravel that bundles essential tooling with the simplicity of HTMX into a jumping off point.

Requirements

  • PHP 8.4
  • Bun (Can be replaced with your package manager of choice, see below)

Installed Packages

The following packages come pre-installed:

Pint

The Pint config is based on Nuno Maduro's Essentials package with some tweaks:

PHPStan

By default, PHPStan is set to level 10.

Bun

By default, this starter kit uses Bun to manage JavaScript dependencies. If you prefer to use a different one, do the following:

  • Delete bun.lock
  • Update bun references with the equivalent of your preferred package manager in:
    • composer.json
    • lefthook.yaml
    • maskfile.md
    • package.json
  • Delete the node_modules folder
  • Reinstall your JavaScript dependencies

Common Scripts

Common scripts as handled using Mask.

While these are useful, you're not required to have Mask installed.