prometa/sleek

Bootstrap UI components with aggressive defaults

Maintainers

Package info

github.com/PROMETA-at/sleek

pkg:composer/prometa/sleek

Statistics

Installs: 773

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v0.0.162 2025-10-21 15:04 UTC

README

Sleek is a Laravel package that provides Bootstrap UI components with aggressive defaults for rapid Laravel development. Every behavior defaults to the most likely use case, while remaining fully customizable.

Installation

To get started, install Sleek via the Composer package manager:

composer require prometa/sleek

By default, the service provider is automatically registered via Laravel's package auto-discovery. No additional steps are required.

However, if auto-discovery is disabled or does not work as expected, you can register the service provider manually. To do this, add the following line to the providers array in your config/app.php file:

\Prometa\Sleek\Providers\SleekServiceProvider::class,

Sleek offers a setup command to automatically install and set up the necessary dependencies. The sleek:setup command will check your bootstrap and bootstrap-icons installations and inject an import to sleek's sass into your app.scss:

php artisan sleek:setup

Documentation

  • Page Layout — page scaffolding, assets, menu, authentication, language, theme
  • Navigation — breadcrumbs
  • Forms — form, form fields, form groups, entity forms, value extraction
  • Tables — entity tables, sorting, pagination, custom columns
  • Eloquent Extensions — autoSort, autoPaginate, autoFilter
  • UI Components — icon, alert, card
  • Modals — modal, modal-form
  • Tabs — presets, headless component, HTMX integration
  • Blade Directives — @capture/@into, @flags/@flag, @forwardSlots, @ensureSlotFor
  • Implicit Behaviors — quick-reference for all convention-based magic