in10/styleguide
Adds a basic styleguide to Laravel projects. Install via Composer, place Blade templates in resources/views/styleguide, then view them in the browser at /styleguide to browse and document UI components and patterns.
/styleguide route. It aligns well with teams needing a living style guide (e.g., design systems, component libraries) without heavy tooling (e.g., Storybook)./resources/views/styleguide and route access). No database or complex configuration required./styleguide route; conflicts possible if the app already uses this path.composer audit)?composer require in10/styleguide
composer validate and PHP/Laravel version checks.routes/web.php:
Route::prefix('styleguide')->group(function () {
Route::get('/', function () { return view('styleguide.index'); });
});
/resources/views/styleguide/ (e.g., buttons.blade.php, typography.blade.php)./resources/views/styleguide/
├── _header.blade.php (shared header)
├── buttons.blade.php (button component docs)
├── index.blade.php (main styleguide page)
/styleguide in a staging environment.Route::prefix or Blade syntax changes.@props, @stack) if the package uses legacy syntax.composer require in10/styleguide in a test environment)./styleguide.@section syntax changes)./styleguide clashes with existing routes./docs/styleguide).{{> components/button for includes)./styleguide is broken).How can I help you explore Laravel packages today?