Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Styleguide

Laravel Styleguide Laravel Package

xpersonas/laravel-styleguide

A Laravel package that generates a living style guide for your application's UI components, views, and frontend assets. It centralizes design tokens, component examples, and usage docs so teams can browse styles and keep interfaces consistent.

View on GitHub
Deep Wiki
Context7

Styleguide for Laravel project development.

Frequently asked questions about Laravel Styleguide
What is xpersonas/laravel-styleguide used for?
It is a Laravel package that generates a living style guide for your application's UI. It centralizes design tokens, component examples, views, and frontend asset documentation so teams can browse styles in one place. Use it to keep interfaces consistent across a Laravel project.
How do I install xpersonas/laravel-styleguide in a Laravel app?
Install it with Composer and follow the package README for service provider registration, publishing, and route or view setup. Laravel package auto-discovery may handle provider registration, but confirm that in the documentation. After installation, publish any config or assets and open the style guide route.
Does laravel-styleguide support Laravel 10 and Laravel 11?
The provided overview does not list exact Laravel version constraints, so verify the requirement in the package composer.json and README. Confirm compatibility with your Laravel release before adding it to a production project. If you use a newer Laravel version, check for a compatible package release.
How do I configure the style guide routes and published assets?
Configuration is handled through the package's published config and assets, following the README. Publish the package files, adjust paths or route settings as needed, then regenerate the guide. Exact config keys depend on the package version, so refer to the repository documentation.
Can I use laravel-styleguide to document Blade components and frontend assets?
Yes, the package is intended to generate a living style guide for UI components, views, and frontend assets. You can centralize component examples, design tokens, and usage documentation so developers can browse styles. It fits Laravel projects that use Blade views and frontend tooling.
Is xpersonas/laravel-styleguide suitable for production?
It is primarily a development and documentation tool for browsing UI styles and component examples. In production, restrict access to the style guide routes or disable them because internal component docs may not be public. Confirm the package's configuration options for environment-based enabling before deployment.
How do I test that the style guide renders correctly?
Add a basic route or feature test in Laravel to confirm the style guide endpoint returns a successful response. Check that published assets load and that representative components render without errors. Run these tests in CI alongside your normal Laravel test suite.
What are alternatives to laravel-styleguide for Laravel UI documentation?
Alternatives include standalone style guide tools such as Storybook for frontend components, plus custom Blade documentation pages or design system tools. laravel-styleguide is specific to Laravel and centralizes tokens, views, and assets inside the app. Choose it when you want a lightweight in-app living style guide rather than a separate JavaScript-only workflow.
How do I keep the style guide updated as components change?
Treat the style guide examples and documentation as part of your component workflow. Update examples when UI components or design tokens change, and review the generated guide during code review. Because it is a living style guide, regular maintenance keeps it aligned with the actual Laravel views and assets.
Who maintains xpersonas/laravel-styleguide and how often is it updated?
It is maintained under the xpersonas vendor name on GitHub, and the repository is the best source for release history and maintenance activity. Check the GitHub releases, commit history, and composer.json constraints before adopting it. For long-term projects, verify recent activity and open issues.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core