jobmetric / media
This package is for keeping the files of different Laravel projects.
Requires
- php: ^8.1
- ext-exif: *
- ext-fileinfo: *
- ext-gd: *
- ext-json: *
- ext-zip: *
- jobmetric/domi: ^1.8
- jobmetric/laravel-event-system: ^2.10
- jobmetric/laravel-package-core: ^1.20
- laravel/framework: >=9.19
- phpoffice/phpspreadsheet: ^2.4|^3.10|^5.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.2
- 2.0.1
- 1.18.0
- 1.17.3
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- dev-release/committed-outcomes-2.3.0
This package is auto-updated.
Last update: 2026-10-20 23:28:56 UTC
README
This package is for keeping the files of different Laravel projects.
Install via composer
Run the following command to pull in the latest version:
composer require jobmetric/media
Add service provider
Add the service provider to the providers array in the config/app.php config file as follows:
'providers' => [ ... JobMetric\Media\Providers\MediaServiceProvider::class, ]
Publish the config
Copy the config file from vendor/jobmetric/media/config/config.php to config folder of your Laravel application and rename it to media.php
Run the following command to publish the package config file:
php artisan vendor:publish --provider="JobMetric\Media\Providers\MediaServiceProvider" --tag="media-config"
You should now have a config/media.php file that allows you to configure the basics of this package.
Publish Migrations
You need to publish the migration to create the medias table:
php artisan vendor:publish --provider="JobMetric\Media\Providers\MediaServiceProvider" --tag="media-migrations"
After that, you need to run migrations.
php artisan migrate