Looking to hire Laravel developers? Try LaraJobs

laravel-mediable maintained by yuges-code

Description
🎴 Package for easily uploading and attaching media files to Laravel eloquent models
Author
Last update
2025/08/27 09:10 (dev-main)
License
Downloads
8

Comments
comments powered by Disqus

💿 Installation

→ Composer

You can install the package via composer:

composer require yuges-code/laravel-mediable

→ Publishing Config

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

php artisan vendor:publish --provider="Yuges\Mediable\Providers\MediableServiceProvider" --tag="mediable-configs"

→ Publishing Migrations

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

php artisan vendor:publish --provider="Yuges\Mediable\Providers\MediableServiceProvider" --tag="mediable-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: