laravel/nova-devtool
Laravel Nova Devtool streamlines Nova component development with a Workbench-based Nova install, optional auto-login, and commands to install common JS deps. Easily enable/disable Vue Devtools in Nova and upgrade from Nova 4 with a generic Mix extension.
nova.mix.js replacement simplifies Webpack integration for third-party Nova packages.@laravel/nova-devtool) that must be managed alongside existing tooling, risking build system complexity.nova.mix.js files in published packages?package.json).composer require --dev laravel/nova-devtool
npm install --save-dev @laravel/nova-devtool
nova:devtool setup) and Vue DevTools toggle.nova.mix.js with the package’s generic version (for third-party packages).disable-vue-devtool for production builds.| Component | Compatibility Risk | Mitigation Strategy |
|---|---|---|
| Laravel Nova | High (version-specific; v5.1–v5.7.7 tested) | Pin to a supported Nova version or patch the package. |
| Webpack 5+ | Medium (fixed in v1.9.1, but older versions may fail) | Downgrade Webpack or use webpack@5.10.6 explicitly. |
| Orchestra Workbench | High (required for sandboxing) | Use Docker/Valet as an alternative if Workbench is unavailable. |
| NPM Dependencies | Medium (Axios/Lodash/Tailwind may conflict with existing setups) | Audit package.json before installation; use npm ls to detect conflicts. |
| Vue.js | Low (DevTools are opt-in) | Disable DevTools in production (disable-vue-devtool). |
| PHPStan/PHP 8+ | Low (package supports PHPStan 2 and PHP 8+) | Ensure CI/CD includes PHPStan checks. |
webpack.mix.js and package.json.nova:devtool setup.nova:devtool install.nova.mix.js with the package’s generic version for third-party components.testbench.yaml for custom Workbench configurations.npm ci) to avoid version drift.enable-vue-devtool, nova:devtool install).How can I help you explore Laravel packages today?