定制 deka/media 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

deka/media

最新稳定版本:1.0

Composer 安装命令:

composer require deka/media

包简介

Toolset for handling media (images and documents) in Laravel.

README 文档

README

GitHub Tests Action Status

This package makes adding media to your models a breeze. Just define the different types of media you whish to use and where to put them, add the Trait to the specified Models and you're ready to go!

Installation

You can install the package via composer:

composer require deka/media

You must publish the assets with:

php artisan vendor:publish --provider="Deka\Media\MediaServiceProvider" --tag="assets"

You can publish and run the migrations with:

php artisan vendor:publish --provider="Deka\Media\MediaServiceProvider" --tag="migrations"
php artisan migrate

You should publish the config file with:

php artisan vendor:publish --provider="Deka\Media\MediaServiceProvider" --tag="config"

This is the contents of the published config file:

return [
];

Usage

$laravel-media = new Deka\Media();
echo $media->echoPhrase('Hello, Deka!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email freek@spatie.be instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-06