承接 tigron/skeleton-application-dav 相关项目开发

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

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

tigron/skeleton-application-dav

Composer 安装命令:

composer require tigron/skeleton-application-dav

包简介

Webdav application for Skeleton

README 文档

README

This skeleton applications creates a webdav application in your skeleton project.

Installation

Installation via composer:

composer require tigron/skeleton-application-dav

Setup the application

Your webdav application should follow the following directory structure:

- App-directory from skeleton-core
  - Your app name
    - config
    - event
    - fs

It is important to understand that every class that is created should be in their correct namespace. The following namespaces should be used:

event: \App\{APP_NAME}\Event
fs: \App\{APP_NAME}\Fs

Sabre Dav

This application uses Sabre Dav to create a webdav server. Your filesystem should contain classes of classname \Sabre\DAV\Collection or \Sabre\DAV\FS\File

Events

Events can be created to perform a task at specific key points during the application's execution.

The class should extend from Skeleton\Core\Event and the classname should be within the namespace \App\APP_NAME\Event\Context, where APP_NAME is the name of your application, and Context is one of the available contexts:

  • Application
  • Dav

The different contexts and their events are described below.

Application context

bootstrap

The bootstrap method is called before loading the application module.

public function bootstrap() { }

teardown

The teardown method is called after the application's run is over.

public function teardown() { }

Dav context

get_root() {

The get_root should return the root of your filesystem.

public function get_root() { }

authenticate

The authenticate method is called to authenticate a user.

public function authenticate($username, $password) {

FS - File System

File - custom properties

The class that represents a file in the virtual FS (extending \Sabre\DAV\File) can implement

public function get_properties() {
    return [ 'prop1' => 'val1', 'prop2' => 'val2' ];
}

tigron/skeleton-application-dav 适用场景与选型建议

tigron/skeleton-application-dav 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 159 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 10 月 29 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 tigron/skeleton-application-dav 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 tigron/skeleton-application-dav 我们能提供哪些服务?
定制开发 / 二次开发

基于 tigron/skeleton-application-dav 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-29