knppy / ui
Knppy UI is a robust Shadcn/ui port for Laravel applications.
Fund package maintenance!
Requires
- php: ^8.4
- gehrisandro/tailwind-merge-php: ^1.2
- illuminate/support: ^12.0||^13.0
- mallardduck/blade-lucide-icons: ^2.0
Requires (Dev)
- larastan/larastan: ^3.9
- laravel/pao: ^1.0
- laravel/pint: ^1.29
- orchestra/testbench: ^10.0||^11.0
- pestphp/pest: ^4.6||^5.0
- pestphp/pest-plugin-laravel: ^4.1||^5.0
- pestphp/pest-plugin-type-coverage: ^4.0||^5.0
- phpstan/extension-installer: ^1.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-15 14:25:34 UTC
README
Ui
Knppy UI is a robust Shadcn/ui port for Laravel applications.
Installation
You can install the package via Composer:
composer require knppy/ui
You may publish all of the package's resources at once:
php artisan vendor:publish --tag="ui"
Or, you may publish each resource individually:
Publishing the Configuration File
php artisan vendor:publish --tag="ui-config"
Usage
Install the Tailwind CSS entry point and choose a base color:
php artisan ui:install
Compile that CSS with your application's Vite build, then load Knppy UI's bundled Alpine runtime before the closing
body tag:
@uiScripts </body>
The directive includes and starts Alpine together with Knppy UI's required plugins. Do not load a second Alpine
instance. Pass a CSP nonce when required with @uiScripts(['nonce' => $nonce]).
Components are available as anonymous Blade components under the ui namespace.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Thank you for considering contributing to Ui! Please review our contributing guide to get started.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
Ui is open-sourced software licensed under the MIT license.