fer-projekt/laravel-userable

Multiple User Type Models for Laravel.

dev-main 2024-03-27 04:53 UTC

This package is auto-updated.

Last update: 2024-05-27 05:06:19 UTC


README

This package transforms Laravel's User model to be an "abstract-like" model so that you can create as much separate userable (user-type) models as you wish.

Installation

You can install the package via composer:

composer require fer-projekt/laravel-userable

Usage

Development

Clone the package from the github:

git clone https://github.com/fer-projekt/laravel-userable.git

cd laravel-userable

Starting & stopping docker

docker-compose up -d
docker-compose down

Install dependencies via composer and testing:

docker-compose exec app bash
composer update
phpunit

License

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