github Crumbls/layup v1.2.0

5 hours ago

Improved Installation & Diagnostics

Install Command (layup:install)

  • Pre-flight check ensures Filament is installed before proceeding
  • Automatically runs storage:link for uploaded image accessibility
  • Creates the frontend layout component from a stub if missing
  • Publishes Filament assets (filament:assets)
  • Detects if LayupPlugin is registered in any panel and warns if not
  • Warns when an existing layout is missing @layupScripts or Alpine.js
  • Runs layup:doctor at the end for a full health check
  • Next steps output now mentions bun/pnpm/yarn alongside npm
  • Documents that pages default to draft status

Doctor Command (layup:doctor)

  • Checks LayupPlugin registration in Filament panels
  • Verifies storage symlink exists
  • Checks layout component file exists on disk
  • Scans layout for @layupScripts directive
  • Verifies safelist is referenced in app.css or tailwind.config.js
  • Warns when all pages are drafts with none published
  • Widget view errors now include the expected file path

Route Exclusion for Root-Prefix Pages

  • Setting frontend.prefix to '' no longer shadows /admin, /livewire, or other framework routes
  • Auto-detects Filament panel paths via Filament::getPanels()
  • Excludes common framework paths (livewire, filament, storage, api, sanctum, telescope, horizon, pulse)
  • New frontend.excluded_paths config for custom exclusions

Content Validator

  • Field-level required checks only run in strict mode
  • Fixes false "missing required field" warnings on widget save in the builder

Widget Edit Action

  • Uses ->form() instead of ->schema() to ensure Filament opens the slideover modal

Other

  • Added missing text-columns widget Blade view
  • Moved page create/edit details into modals for cleaner builder UX
  • Removed unused imports in EditPage
  • Improved README: installation steps, Alpine.js requirement, root-prefix routing, @layupScripts guidance, layup:doctor as post-install step

Don't miss a new layup release

NewReleases is sending notifications on new releases.