mooxphp/moox

View on GitHub
packages/user-session/README.md

Summary

Maintainability
Test Coverage
![Moox UserSession](https://github.com/mooxphp/moox/raw/main/art/banner/user-session.jpg)

# Moox User Session

Moox User Session is a package that provides a Filament resource to monitor all sessions, specially user sessions. It ships with a SessionRelationService, that cares for providing the correct relation to multiple user models. This service used with our custom Filament Logins, as well as the Moox User Device service that build a perfect couple with Moox User Session.

Moox User Session is running in production for a couple of weeks now, but it lacks documentation.

## Quick Installation

These two commmands are all you need to install the package:

```bash
composer require moox/user-session
php artisan mooxuser-session:install
```

Curious what the install command does? See manual installation below.

## What it does

<!--whatdoes-->

Here are some things missing, like an overview with screenshots about this package, or simply a link to the package's docs.

<!--/whatdoes-->

## Manual Installation

Instead of using the install-command `php artisan mooxuser-session:install` you are able to install this package manually step by step:

```bash
// Publish and run the migrations:
php artisan vendor:publish --tag="user-session-migrations"
php artisan migrate

// Publish the config file with:
php artisan vendor:publish --tag="user-session-config"
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Security Vulnerabilities

Please review [our security policy](https://github.com/mooxphp/moox/security/policy) on how to report security vulnerabilities.

## Credits

-   [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.