Skip to content

Package for easily uploading and attaching media files to Laravel eloquent models 🎴

License

Notifications You must be signed in to change notification settings

yuges-code/laravel-mediable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel-mediable

GitHub Release Packagist Downloads GitHub License Packagist Stars

Package for easily uploading and attaching media files to Laravel eloquent models

Installation

Preparing the database

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

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

After that, you need to run migrations.

php artisan migrate

Publishing the config file

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

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

About

Package for easily uploading and attaching media files to Laravel eloquent models 🎴

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published