A powerful command-line tool that streamlines component installation, theme management, and project setup to accelerate your Laravel development workflow with beautiful, accessible UI components.
Install the Sheaf CLI package in your Laravel project:
composer require sheaf/cli
Initialize Sheaf with all required dependencies:
php artisan sheaf:init
Start installing components:
php artisan sheaf:install button
- Laravel 10.0 or higher
- PHP 8.1 or higher
- Alpine.js (auto-installed if not present)
- Tailwindcss 4.0 or higher
The sheaf:init
command sets up your entire project with CSS theme system, dark mode support, JavaScript utilities, and proper file organization.
Built-in support for light/dark themes with CSS custom properties and Alpine.js integration for seamless theme switching.
Install components with automatic dependency resolution. Each component includes all required files and dependencies.
Browse and filter available components with sheaf:list
to find exactly what you need for your project.
php artisan sheaf:init
php artisan sheaf:init --with-dark-mode --with-phosphor
php artisan sheaf:init --css-file=custom.css --theme-file=my-theme --skip-prompts
# Install a single component
php artisan sheaf:install button
# Install with options
php artisan sheaf:install modal --force --no-deps
# List all components
php artisan sheaf:list
# Filter by access level
php artisan sheaf:list
After initialization, Sheaf creates this organized structure:
resources/
├── css/
│ ├── app.css (updated with theme import)
│ └── theme.css (CSS custom properties)
├── js/
│ ├── utils.js (Alpine.js utilities)
│ ├── app.js (updated with imports)
│ └── globals/
│ └── theme.js (Dark mode system)
└── views/
└── components/
└── ui/ (installed components)
Visit sheafui.dev for:
- Complete component documentation
- Usage examples
- Theme customization guides
- Advanced configuration options
Sheaf CLI is open-source software. Premium components require a valid license.