You can install the package via composer:
composer require yuges-code/laravel-groupable
Publishing the config file (config/groupable.php) is optional:
php artisan vendor:publish --provider="Yuges\Groupable\Providers\GroupableServiceProvider" --tag="groupable-configs"
You need to publish the migration to create the groups table:
php artisan vendor:publish --provider="Yuges\Groupable\Providers\GroupableServiceProvider" --tag="groupable-migrations"
After that, you need to run migrations:
php artisan migrate
To run tests, run the following command:
composer test
The MIT License (MIT). Please see License File for more information.
Created in 2025 by: