You can install the package via composer:
composer require yuges-code/laravel-mediable
Publishing the config file (config/mediable.php) is optional:
php artisan vendor:publish --provider="Yuges\Mediable\Providers\MediableServiceProvider" --tag="mediable-configs"
You need to publish the migration to create the groups table:
php artisan vendor:publish --provider="Yuges\Mediable\Providers\MediableServiceProvider" --tag="mediable-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: