jonnx/laravel-jetstream-flux-ui

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

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

dev-main 2025-12-05 19:41 UTC

This package is auto-updated.

Last update: 2025-12-05 19:41:21 UTC


README

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

Features

  • Publishes a collection of ready-to-use Blade views
  • Simple integration with Laravel's vendor:publish system

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.