Download the PHP package mnurullahsaglam/laravel-owner without Composer
On this page you can find all versions of the php package mnurullahsaglam/laravel-owner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mnurullahsaglam/laravel-owner
More information about mnurullahsaglam/laravel-owner
Files in mnurullahsaglam/laravel-owner
Download mnurullahsaglam/laravel-owner
More information about mnurullahsaglam/laravel-owner
Files in mnurullahsaglam/laravel-owner
Vendor mnurullahsaglam
Package laravel-owner
Short Description This is a simple package to add owner foreign id to models with a trait
License MIT
Homepage https://github.com/mnurullahsaglam/laravel-owner
Package laravel-owner
Short Description This is a simple package to add owner foreign id to models with a trait
License MIT
Homepage https://github.com/mnurullahsaglam/laravel-owner
Please rate this library. Is it a good library?
Informations about the package laravel-owner
Laravel Owner
This is a simple package to add owner foreign id to models with a trait.
Installation
You can install the package via composer:
Usage
- Add
HasOwner
trait to your model.
By default, the owner model is App\Models\User
and the owner key is user_id
. If you want to change these values, you can override them in your model.
You can access the owner model with owner
relationship.
Testing
Credits
- Mehmet Nurullah Sağlam
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-owner with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package mnurullahsaglam/laravel-owner contains the following files
Loading the files please wait ....