fer-projekt / laravel-userable
Multiple User Type Models for Laravel.
dev-main
2024-03-27 04:53 UTC
Requires
- php: ^8.0
Requires (Dev)
- illuminate/container: ^9.0|^10.0
- illuminate/support: ^9.0|^10.0
- orchestra/testbench: ^7.0|^8.0
This package is auto-updated.
Last update: 2025-04-27 07:30:17 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.