Download the PHP package hummingbird-dev/webdav-fileselector without Composer

On this page you can find all versions of the php package hummingbird-dev/webdav-fileselector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package webdav-fileselector

webdav-fileselector

A Laravel package for showing and selecting files and folders of a WebDAV server.

Features

Dependencies

Included libraries

This means that these libraries (or parts of them) are included in the webdav-fileselector package. Thus no download / installation of these libraries is needed.

Getting started

Installation

Install via composer and run the command below in the root of your project:

Add the following under autoload to your composer.json (that one in your projects root directory):

Update composer from the root of your project:

Publish resources from your root folder:

Usage

Start a local development server

and navigate to http://localhost:8000/webdav-fileselector-get

You will see the client template, which can be edited at "/resources/views/hummingbird-dev/webdav-fileselector.blade.php".

Two possibilities exist to include the needed WebDAV credentials and to submit optional settings.

First, the client at "/resources/views/hummingbird-dev/webdav-fileselector.blade.php" can be edited or an additional POST form on any other page can be used to call the client. This form may look like:

webdav-fileselector as a service

The interesting point here is that this HTML form can be implemented on any other web page. So it's possible to provide this service on other web projects. One possibility for integration would be an iframe. That means, placing an iframe onto the page:

and pointing the form to the iframe with the "target" attribute, which means to open the response of the form POST in the iframe:

Parameters

Following parameters are mendatory:

Following settings are optional and have all default values. These settings influence mostly the functionality of the hummingbird-treeview, which is used to show the files and folders. All values of these settings are strings, although many behave like boolean true and false.

Events -- grabbing the selected files

On every file check or uncheck on the hummingbird-treeview an event is fired including the selected files. As can be seen in the file webdav-fileselector.blade.php there is a small JavaScript snippet at the end of the file:

This JavaScript code grabs the List of the selected files, which are stored here in the object data. This object contains arrays, whereas data.dataid contains the full paths to the selected files. The data.id contains an id, which is essentially a string together with a running number and not important here. The data.text contains the text shown in the treeview, which is mostly similar to the real filename.


All versions of webdav-fileselector with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hummingbird-dev/webdav-fileselector contains the following files

Loading the files please wait ....