PHPackages                             lizmap/lizmap-webdav-module - 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. lizmap/lizmap-webdav-module

ActiveJelix-module[Utility &amp; Helpers](/categories/utility)

lizmap/lizmap-webdav-module
===========================

Jelix module for Lizmap, enabling WebDAV.

1.2.1(1y ago)015MPL-2.0PHP

Since Apr 13Pushed 8mo agoCompare

[ Source](https://github.com/3liz/lizmap-webdav-module)[ Packagist](https://packagist.org/packages/lizmap/lizmap-webdav-module)[ Docs](https://www.3liz.com/)[ Fund](https://www.3liz.com/en/contacts.html)[ RSS](/packages/lizmap-lizmap-webdav-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

Lizmap WebDAV module
====================

[](#lizmap-webdav-module)

This is a module for [Lizmap](https://www.lizmap.com/) 3.6 and newer, allowing to push QGIS projects into Lizmap with the WebDAV protocol.

The module installs a new entry point: `dav.php`

If the Lizmap Web Client is accessible at the web address `http://lizmap.local/`:

- the webdav address is `http://lizmap.local/dav.php/`
- a lizmap repository is available at `http://lizmap.local/dav.php/repository_directory_name/`
- a QGIS project at `http://lizmap.local/dav.php/repository_directory_name/qgis_project_name.qgs`
- a lizmap config at `http://lizmap.local/dav.php/repository_directory_name/qgis_project_name.qgs.cfg`.

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

[](#installation)

Once Lizmap Web Client 3.6+ application is installed and working, you can install the webdav module. It is recommended to install the module with [Composer](https://getcomposer.org), the package manager for PHP.

### Automatic installation with Composer and lizmap 3.4 or higher

[](#automatic-installation-with-composer-and-lizmap-34-or-higher)

- into `lizmap/my-packages`, create the file `composer.json` (if it doesn't exist) by copying the file `composer.json.dist`, and install the modules with Composer:

```
cp -n lizmap/my-packages/composer.json.dist lizmap/my-packages/composer.json
composer require --working-dir=lizmap/my-packages "lizmap/lizmap-webdav-module"
```

- Then go into `lizmap/install/` and execute Lizmap install scripts :

```
php configurator.php webdav
php installer.php
./clean_vartmp.sh
./set_rights.sh
```

module configuration
--------------------

[](#module-configuration)

Some configuration parameters can be set into a `[webdav]` section of the `localconfig.ini.php` file.

By default, WebDAV is configured to use the root directory of repositories indicated into the `rootRepositories` parameter of `lizmapConfig.ini.php` files.

If you want to use another directory (the parent directory for example), indicate the full path into a `rootPath` parameter. Example:

```
[webdav]
rootPath="/srv/lizmap/data/"
```

If Qgis projects should be stored into a subdirectory of the root directory, you should indicate its relative path into `qgisDirectory`. Example:

```
[webdav]
rootPath="/srv/lizmap/data/"
qgisDirectory="qgis-projects/"
```

This value is indicated into lizmap metadata, so the Lizmap plugin for Qgis know where is the root directory of Qgis projects.

Obviously, `rootRepositories` should then be `/srv/lizmap/data/qgis-projects/`.

Following the example, URL to access to projects are:

- a lizmap repository is available at `http://lizmap.local/dav.php/qgis-projects/repository_directory_name/`
- a QGIS project at `http://lizmap.local/dav.php/qgis-projects/repository_directory_name/qgis_project_name.qgs`
- a lizmap config at `http://lizmap.local/dav.php/qgis-projects/repository_directory_name/qgis_project_name.qgs.cfg`.

You can also indicate the directory where to store COG files, within the `COGDirectory` parameter. Example:

```
[webdav]
rootPath="/srv/lizmap/data/"
qgisDirectory="qgis-projects/"
COGDirectory="cog-files/"
```

And finally, you can enable a webdav browser, allowing you to navigate into all these directories, with your web browser. Set `browserEnabled=on`. Example:

```
[webdav]
rootPath="/srv/lizmap/data/"
qgisDirectory="qgis-projects/"
COGDirectory="cog-files/"
browserEnabled=on
```

Then go to the URL `http://lizmap.local/dav.php/`.

PHP FPM configuration
---------------------

[](#php-fpm-configuration)

You should create a new pool dedicated to dav, in order to have different PHP setup than the main www pool.

Into `/etc/php/8.1/fpm/pool.d/`, copy the `www.conf` to `dav.conf` and change these settings:

```
; choose a different port relative to the port indicated to www.conf
listen = 9010

; sets specific PHP admin value
php_admin_flag[output_buffering] = off
php_admin_value[max_input_time] = 3600
php_admin_value[max_execution_time] = 3600

; the directory should be on the same partition as dir into nginx conf client_body_temp_path
; set the directory according to your system settings
php_admin_value[upload_tmp_dir] = /var/cache/nginx/
```

Nginx configuration
-------------------

[](#nginx-configuration)

In your vhost configuration, it is recommended to have a configuration specific to the dav.php script. For example:

```
        # configuration for dav.php
        location ~* /dav\.php {
            # specific configuration to support download/upload of big files
            client_max_body_size      0;
            fastcgi_request_buffering off;
            fastcgi_buffers           64 4K;
            fastcgi_read_timeout      3600s;
            fastcgi_send_timeout      3600s;
            proxy_buffering             off;
            proxy_read_timeout        3600s;
            proxy_send_timeout        3600s;
            send_timeout              3600s;
            keepalive_timeout         3600s;
            # should be in the same partition of php upload_tmp_dir
            client_body_temp_path     /var/cache/nginx 1 2;

            # classical configuration for PHP
            fastcgi_split_path_info ^(.+\.php)(/.*)$;
            set $path_info $fastcgi_path_info;
            try_files $fastcgi_script_name =404;
            include fastcgi_params;

            fastcgi_index dav.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param SERVER_NAME $http_host;
            fastcgi_param PATH_INFO $path_info;
            fastcgi_param PATH_TRANSLATED $document_root$path_info;

            # set the port indicated into the pool dav.conf of php-fpm
            fastcgi_pass  lizmap:9010;
        }

        # configuration for any php file
         location ~* /\w+\.php {
            fastcgi_split_path_info ^(.+\.php)(/.*)$;
            set $path_info $fastcgi_path_info; # because of bug http://trac.nginx.org/nginx/ticket/321
            try_files $fastcgi_script_name =404;
            include fastcgi_params;

            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param SERVER_NAME $http_host;
            fastcgi_param PATH_INFO $path_info;
            fastcgi_param PATH_TRANSLATED $document_root$path_info;

            # classical port of pool www.conf
            fastcgi_pass  lizmap:9000;
        }

```

Resources about configuration
-----------------------------

[](#resources-about-configuration)

See these websites in order to tweak PHP-fpm and nginx configuration:

-
- [https://docs.nextcloud.com/server/latest/admin\_manual/configuration\_files/big\_file\_upload\_configuration.html](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html)
-

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance54

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~122 days

Recently: every ~142 days

Total

7

Last Release

397d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae8142be36568660282368ce7c1eec904ecbc515ab5b58c759a487f3a6f1d114?d=identicon)[laurentj](/maintainers/laurentj)

![](https://www.gravatar.com/avatar/baa42c7323bbc9245b0c70f770031383879941a1a813f678f2835699fd50b375?d=identicon)[mdouchin](/maintainers/mdouchin)

![](https://www.gravatar.com/avatar/85344d4f49b7045f32ec35ce2221ecf9460ed6bdbf37c84e31e3d130c75c3dbf?d=identicon)[rldhont](/maintainers/rldhont)

---

Top Contributors

[![laurentj](https://avatars.githubusercontent.com/u/336034?v=4)](https://github.com/laurentj "laurentj (19 commits)")[![Gustry](https://avatars.githubusercontent.com/u/1609292?v=4)](https://github.com/Gustry "Gustry (15 commits)")[![nworr](https://avatars.githubusercontent.com/u/43475951?v=4)](https://github.com/nworr "nworr (9 commits)")[![mdouchin](https://avatars.githubusercontent.com/u/3492210?v=4)](https://github.com/mdouchin "mdouchin (4 commits)")[![rldhont](https://avatars.githubusercontent.com/u/1575538?v=4)](https://github.com/rldhont "rldhont (3 commits)")[![3liz-bot](https://avatars.githubusercontent.com/u/63838475?v=4)](https://github.com/3liz-bot "3liz-bot (1 commits)")

---

Tags

WebDAVmodulejelixlizmap

### Embed Badge

![Health badge](/badges/lizmap-lizmap-webdav-module/health.svg)

```
[![Health](https://phpackages.com/badges/lizmap-lizmap-webdav-module/health.svg)](https://phpackages.com/packages/lizmap-lizmap-webdav-module)
```

PHPackages © 2026

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