承接 nunopress/sharex-hosting-uploader 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

nunopress/sharex-hosting-uploader

Composer 安装命令:

composer create-project nunopress/sharex-hosting-uploader

包简介

ShareX custom uploader for your hosting/domain powered by Symfony Micro Edition

README 文档

README

This is a custom uploader project for ShareX Uploader

Installation

You need Composer for install this project with this command:

composer create-project nunopress/sharex-hosting-uploader project_name

Configuration

The configuration file is into src/AppBundle/Resources/config/services.yml.

You need to change the app.secret and configure ShareX with the same secret key parameter.

You can change the value of app.upload_dir if you want the uploads in another directory, from default this is configured into %kernel.root_dir%/../uploads (root directory + /uploads).

In ShareX you need to setup the Response Url with this format:

  • URL: http://yoursite.com/view/$json:filename$
  • Thumbnail URL: http://yoursite.com/thumb/$json:filename$
  • Deletion URL: http://yoursite.com/delete/$json:filename$

Remember to setup too the Arguments:

  • Request type: POST
  • Request URL: http://yoursite.com/upload
  • File form name: file
  • Arguments:
    • secret: Your secret key used into app.secret
    • name: The filename format saved on the web server

Testing

Rename the file phpunit.xml.dist in phpunit.xml and run phpunit from the root folder.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固