jonnx/laravel-jetstream-flux-ui

Installs: 37

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/jonnx/laravel-jetstream-flux-ui

1.0.0 2025-12-11 15:38 UTC

This package is auto-updated.

Last update: 2025-12-11 15:40:16 UTC


README

A Laravel package that provides a service provider to publish a set of pre-defined UI views for rapid prototyping or scaffolding.

Requirements

This package is built on top of existing Laravel eco system packages.

  • Laravel Livewire
  • Laravel Jetstream (with Livewire Stack)
  • FluxUI Pro (paid license)

Future Improvements

  • Evaluate possibility to remove the need for paid flux license.

Quick Start

composer require laravel/jetstream \
&& php artisan jetstream:install livewire --teams --dark \
&& npm install \
&& npm run build \
&& php artisan migrate:fresh \
&& composer require jonnx/laravel-jetstream-flux-ui \
&& php artisan vendor:publish --tag=jetstream-flux-ui-views --force \
&& php artisan vendor:publish --tag=jetstream-flux-ui-build-config --force \
&& npm remove tailwindcss \
&& npm add tailwindcss --include=dev \
&& npm add @tailwindcss/postcss --include=dev \
&& php artisan flux:activate \
&& npm run build

Installation

  1. Require the package in your Laravel project (if published to a repository):
    composer require jonnx/laravel-jetstream-flux-ui
  2. The service provider is auto-discovered via Laravel's package discovery.

Publishing Views

To publish the package's views to your application's resources/views/vendor/jetstream-flux-ui directory, run:

php artisan vendor:publish --tag=jetstream-flux-ui-views

Global Helper: initials()

This package provides a globally available helper function called initials(). You can use it in your Blade templates or anywhere in your application to get the uppercase initials of a string:

{{ initials('Jane Doe') }} <!-- Outputs: JD -->

After publishing, you can customize the views in your application's resources/views/vendor/jetstream-flux-ui directory as needed.

Example

A sample view is included:

resources/views/vendor/jetstream-flux-ui/example.blade.php

License

This package is open-sourced software licensed under the MIT license.