定制 techlify/laravel-file-manager 二次开发

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

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

techlify/laravel-file-manager

Composer 安装命令:

composer require techlify/laravel-file-manager

包简介

A Module that provides a File Management REST API for Laravel

README 文档

README

A simple package for Laravel that provides a File Management RESTful API

Installation

Install this package with composer using the following command:

composer require techlify-inc/file-manager

Run migrations

$ php artisan migrate

Usage

You can now use the API methods from your frontend

POST techlify-files/upload - uploads a file to the Laravel code base and returns the name of the file

There is also a full database of files that can be stored. The following information can be sent in the HTTP requests and is stored:

owner_type - String, the type of model that owns this file. ex: Person if the file belongs to a person
owner_id - id of the owner object
title - a title for the file

Here are the Requests:

POST    techlify-files - stores a new file record
GET     techlify-files - gets a list of all stored files
PUT     techlify-files/{id} - updates a file record
GET     techlify-files/{id} - loads a single file record
DELETE  techlify-files/{id} - Deletes a file

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固