Skip to content
widgets / 1

Requirements

Last updated:

This package requires:

  • PHP 8.4 or higher
  • Laravel 12 or 13
  • javaabu/stencil: widget settings forms (installed with the package)
  • javaabu/forms v2: the Blade admin pages (installed with the package)
  • javaabu/permissions v3: permissions and the policy (installed with the package)
  • javaabu/manifest: ships the admin script, the widget styles and the React code to your app (installed with the package)

Optional:

Blade apps need no npm packages for widgets beyond what manifest asks for to build assets (vite, laravel-vite-plugin). The admin script imports nothing from npm.

For React (the <WidgetLocation> component and the Inertia pages), your app needs React 19, @inertiajs/react, @javaabu/forms, @javaabu/onu and manifest's Vite plugin, which resolves @javaabu/widgets and @javaabu/stencil. The package declares these for manifest's pages scope, so php artisan manifest:check asks for them only when your app uses Inertia (or with --scope=pages).

Documentation
All packages

javaabu/widgets

Source on GitHub