laravel-frontend-presets/argon
Laravel frontend preset that swaps the default scaffolding for the Argon design system, giving you ready-made Blade auth views, layouts, and components. Install it to bootstrap a polished admin-style UI for new Laravel apps with minimal setup.
Architecture fit. laravel-frontend-presets/argon is not a runtime library — it is a one-shot code generator that writes Blade views, controllers, routes, and frontend assets into the host application, then exits the dependency graph. That distinction drives everything else: there is no "upgrade the package" story after install, only "re-run the scaffold on a fresh app" or "hand-merge diffs." It fits a narrow profile — a greenfield Laravel 11+ app that deliberately wants the Argon (Creative Tim) Bootstrap 4 admin aesthetic and does not want to build auth screens from scratch. It is a poor fit against Laravel's current direction, where starter kits (Breeze/Jetstream) are Tailwind-first, Vite-first, and maintained by the core team.
Integration feasibility. Mechanically lightweight: composer require in a throwaway environment, run the artisan scaffolding command, npm install && npm run build, review the diff. Realistic effort is 0.5–2 days for a greenfield spike including verification, and considerably more if retrofitted into an existing app. The preset will overwrite files we likely already own — notably routes/web.php, a HomeController, and the resources/views/auth/* and layouts/* trees. That overwrite is the single largest integration hazard and must be treated as a destructive operation, not a merge.
Technical risk.
Dependents: 0 is expected for scaffolding packages but means no ecosystem pressure to keep it current.Key questions.
Stack fit. Clean fit only for: Laravel 11+ (likely 12), PHP 8.2+, Blade templating, npm asset build, server-rendered pages. Explicit non-fits: Inertia/Vue/React SPAs, Livewire-heavy apps already using a component library, Tailwind-based design systems, and API-only backends (zero value). If our design system is Tailwind, this package imports a second, conflicting CSS framework — a permanent tax.
Migration path. Do not retrofit. For an existing app, treat the package as a reference implementation: install it into a scratch Laravel 11 app, review the emitted views and layout, and port the pieces we want by hand. For greenfield, install it on day one before any application code exists, commit the generated output as the baseline, and immediately delete the composer dependency so nobody accidentally re-runs it.
Compatibility. Build a small matrix and verify, don't assume: Laravel minor version × Node version × asset pipeline × PHP version × auth scaffolding present. Pin composer.lock and package-lock.json in the same commit as the install. Test the auth flows end-to-end (register, verify, reset, login throttling) — the preset's controllers are the highest-risk generated artifact.
Sequencing.
Maintenance. After install we own 100% of the generated code. Upstream Argon (Creative Tim) may publish Bootstrap 5 fixes; the preset will not track them. Budget a standing line item for Bootstrap 4/jQuery upkeep, or accept a frozen frontend with a known EOL dependency. Neither is free — pick one explicitly.
Support. MIT, community-only, no vendor SLA. Issue-tracker responsiveness is unverified; the 2024-11-14 release is recent enough to suggest a live maintainer, but a single release is a data point, not a pattern. Assume no support and plan for internal expertise.
Scaling. Straightforward: the output is static CSS/JS and Blade. Serve assets from a CDN, keep the build reproducible via lockfiles, and watch bundle weight — Argon bundles Bootstrap 4, jQuery, and a plugin set, which is materially heavier than a Tailwind purge. That matters for public-facing pages, less for authenticated dashboards.
Failure modes.
composer update re-resolving the preset mid-project and re-publishing over custom views.Ramp-up. Low for anyone fluent in Blade + Bootstrap 4; moderate friction for a team standardized on Tailwind + Alpine, who will be context-switching frameworks and fighting the two CSS resets. Estimate a day of onboarding per engineer plus a shared "do not edit these files" conventions doc. Recommend a single owner for the frontend scaffold to prevent drift.
How can I help you explore Laravel packages today?