PHPackages                             ngmy/l4-dav - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ngmy/l4-dav

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ngmy/l4-dav
===========

A simple WebDAV client library for Laravel 4

0.5.0(11y ago)96253MITPHPPHP &gt;=5.3.0

Since Feb 11Pushed 4y ago2 watchersCompare

[ Source](https://github.com/ngmy/l4-dav)[ Packagist](https://packagist.org/packages/ngmy/l4-dav)[ Docs](https://github.com/ngmy/l4-dav)[ RSS](/packages/ngmy-l4-dav/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (7)Used By (0)

L4Dav
=====

[](#l4dav)

[![Build Status](https://camo.githubusercontent.com/6599c63a520ba826d350659c4ab42c7a56c962185ee95a2f8ef9d80c45c4af0b/68747470733a2f2f7472617669732d63692e6f72672f6e676d792f6c342d6461762e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/ngmy/l4-dav)[![Coverage Status](https://camo.githubusercontent.com/5d5e8e9cd159f41d1de8e55a1791d6fae81da41aa0f1cf50f5e0f4f176803a1e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6e676d792f6c342d6461762f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/ngmy/l4-dav?branch=master)

A simple WebDAV client library for Laravel 4.

Requirements
------------

[](#requirements)

The L4Dav has the following requirements:

- PHP 5.3+
- Laravel 4.0+

Dependencies
------------

[](#dependencies)

The L4Dav has the following dependencies:

- [anlutro/php-curl](https://github.com/anlutro/php-curl)

Installation
------------

[](#installation)

Add the package to your `composer.json` and run `composer update`:

```
{
    "require": {
        "ngmy/l4-dav": "dev-master"
    }
}
```

Add the following to the list of service providers in `app/config/app.php`:

```
'Ngmy\L4Dav\L4DavServiceProvider',
```

Add the following to the list of class aliases in `app/config/app.php`:

```
'L4Dav' => 'Ngmy\L4Dav\Facades\L4Dav',
```

Configuration
-------------

[](#configuration)

After installing, you can publish the package's configuration file into your application, by running the following command:

```
php artisan config:publish ngmy/l4-dav

```

This will publish the config file to `app/config/packages/ngmy/l4-dav/config.php` where you modify the package configuration.

Examples
--------

[](#examples)

### Basic Usage

[](#basic-usage)

**Download a file from the WebDAV server**

```
L4Dav::get('path/to/remote/file', '/path/to/local/file');
```

**Upload a file to the WebDAV server**

```
L4Dav::put('/path/to/local/file', 'path/to/remote/file');
```

**Delete a file on the WebDAV server**

```
L4Dav::delete('path/to/remote/file');
```

**Copy a file on the WebDAV server**

```
L4Dav::copy('path/to/source/file', 'path/to/dest/file');
```

**Rename a file on the WebDAV server**

```
L4Dav::move('path/to/source/file', 'path/to/dest/file');
```

**Make a directory on the WebDAV server**

```
L4Dav::mkdir('path/to/remote/directory/');
```

**Check the existence of a directory on the WebDAV server**

```
L4Dav::exists('path/to/remote/directory/');
```

**List contents of a directory on the WebDAV server**

```
L4Dav::ls('path/to/remote/directory/');
```

### Get Response

[](#get-response)

**Get the status code**

```
$response = L4Dav::put('/path/to/local/file', 'path/to/remote/file');
$response->getStatus();
```

**Get the status message**

```
$response = L4Dav::put('/path/to/local/file', 'path/to/remote/file');
$response->getMessage();
```

**Get the response body**

```
$response = L4Dav::put('/path/to/local/file', 'path/to/remote/file');
$response->getBody();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~61 days

Total

5

Last Release

4226d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7420a4f9654469ce1854f94fe56c240f0b930e692cdcfc8746f8a46480d9579d?d=identicon)[ngmy](/maintainers/ngmy)

---

Top Contributors

[![ngmy](https://avatars.githubusercontent.com/u/864041?v=4)](https://github.com/ngmy "ngmy (14 commits)")

---

Tags

clientlibraryphpphp-librarypsr-17psr-18psr-7streamwebdavwebdav-clientWebDAVLaravel 4

### Embed Badge

![Health badge](/badges/ngmy-l4-dav/health.svg)

```
[![Health](https://phpackages.com/badges/ngmy-l4-dav/health.svg)](https://phpackages.com/packages/ngmy-l4-dav)
```

###  Alternatives

[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
