LaravelPackages.net
Acme Inc.
Toggle sidebar
yuges-code/laravel-ownable

๐Ÿ’ผ Package for easily attaching ownerships to Laravel eloquent models

5
2
1.0.4
About yuges-code/laravel-ownable

yuges-code/laravel-ownable is a Laravel package for ๐Ÿ’ผ package for easily attaching ownerships to laravel eloquent models. It currently has 2 GitHub stars and 5 downloads on Packagist (latest version 1.0.4). Install it with composer require yuges-code/laravel-ownable. Discover more Laravel packages by yuges-code or browse all Laravel packages to compare alternatives.

Last updated

Build
GitHub Branch Check Runs GitHub Tests Action Status
Project
GitHub Release Packagist Downloads GitHub License Packagist Stars Packagist Dependency Version
Quality

Laravel Ownable

๐Ÿ’ผ Package for easily attaching ownerships to Laravel eloquent models


๐Ÿ’ฟ Installation

โ†’ Composer

You can install the package via composer:

composer require yuges-code/laravel-ownable

โ†’ Publishing Config

Publishing the config file (config/ownable.php) is optional:

php artisan vendor:publish --provider="Yuges\Ownable\Providers\OwnableServiceProvider" --tag="ownable-configs"

โ†’ Publishing Migrations

You need to publish the migration to create the ownerships table:

php artisan vendor:publish --provider="Yuges\Ownable\Providers\OwnableServiceProvider" --tag="ownable-migrations"

โ†’ Running Migrations

After that, you need to run migrations:

php artisan migrate

๐Ÿงช Running Tests

โ†’ PHPUnit tests

To run tests, run the following command:

composer test

โš–๏ธ License

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


๐Ÿ™†๐Ÿผโ€โ™‚๏ธ Authors Information

Created in 2025 by:

Star History Chart