jobmetric/media 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jobmetric/media

最新稳定版本:1.18.0

Composer 安装命令:

composer require jobmetric/media

包简介

This package is for keeping the files of different Laravel projects.

README 文档

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

Documentation

统计信息

  • 总下载量: 103
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 3
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-24