</div>
Quality
Laravel Groupable
๐๏ธ Package for easily attaching groups to Laravel eloquent models
# ๐ฟ Installation
### โ Composer
You can install the package via composer:
```
composer require yuges-code/laravel-groupable
```
### โ Publishing Config
Publishing the config file (config/groupable.php) is optional:
```
php artisan vendor:publish --provider="Yuges\Groupable\Providers\GroupableServiceProvider" --tag="groupable-configs"
```
### โ Publishing Migrations
You need to publish the migration to create the groups table:
```
php artisan vendor:publish --provider="Yuges\Groupable\Providers\GroupableServiceProvider" --tag="groupable-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](/laravel-groupable/LICENSE) for more information.
# ๐๐ผโโ๏ธ Authors Information
Created in 2025 by:
- [Yuges-code](https://github.com/yuges-code)
- [All Contributors](../../contributors)