Download the PHP package christhompsontldr/fluxui-devices without Composer

On this page you can find all versions of the php package christhompsontldr/fluxui-devices. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fluxui-devices

FluxUI Devices

A FluxUI front-end for managing devices and sessions using diego-ninja/laravel-devices. Designed to cleanly slot into the Laravel Livewire Starter Kit with Flux UI components.

Inspired by Laravel Jetstream's browser session management, this package provides a beautiful and functional interface for users to manage their authenticated devices and active sessions.

Features

Requirements

Installation

  1. Install and configure diego-ninja/laravel-devices

  2. Install the package via Composer:

  3. Add the HasDevices trait to your User model:

Note: You can customize the device management route by modifying config('devices.device_route') in your published config/devices.php file.

  1. Optionally publish the views for customization (includes custom icons):

Usage

Device Management Component

Add the device management component to your settings page:

This component displays:

Session Management Component

Add the session management component to your settings page:

This component displays:

Integration with Laravel Livewire Starter Kit

To add these components to the settings page in the Laravel Livewire Starter Kit:

  1. Publish the package views:

  2. Add a nav item in resources/views/components/settings/layout.blade.php:

The route is automatically registered by the package.

Customization

Publishing Views

To customize the component views:

Action Message Component

The components use an action-message component for success feedback. This component should be available if you're using the Laravel Livewire Starter Kit. If you don't have it, you can create a simple one:

Or simply replace <x-action-message on="event-name">Success!</x-action-message> with your own success notification component.

Security

All destructive actions (signing out devices, ending sessions) require the user to confirm their password. This follows the same security pattern used in Livewire Starter Kit.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of fluxui-devices with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.0|^12.0
livewire/livewire Version ^3.0|^4.0
livewire/volt Version ^1.0
diego-ninja/laravel-devices Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package christhompsontldr/fluxui-devices contains the following files

Loading the files please wait ...