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

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

lizmap/lizmap-pgmetadata-module
===============================

Jelix module for Lizmap, which adds tools to show layers metadata created with PgMetadata

1.0.8(11mo ago)12144[4 issues](https://github.com/3liz/lizmap-pgmetadata-module/issues)[3 PRs](https://github.com/3liz/lizmap-pgmetadata-module/pulls)MPL-2.0PLpgSQLCI failing

Since Nov 19Pushed 4mo ago5 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (19)Used By (0)

PgMetadata Module
=================

[](#pgmetadata-module)

[![Lint JS 🎳](https://github.com/3liz/lizmap-pgmetadata-module/actions/workflows/test-lint-js.yml/badge.svg)](https://github.com/3liz/lizmap-pgmetadata-module/actions/workflows/test-lint-js.yml)[![Lint PHP 🎳](https://github.com/3liz/lizmap-pgmetadata-module/actions/workflows/test-lint-php.yml/badge.svg)](https://github.com/3liz/lizmap-pgmetadata-module/actions/workflows/test-lint-php.yml)[![Release 🚀](https://github.com/3liz/lizmap-pgmetadata-module/actions/workflows/release.yml/badge.svg)](https://github.com/3liz/lizmap-pgmetadata-module/actions/workflows/release.yml)[![Packagist](https://camo.githubusercontent.com/7eb25fb1b8a04cbd2cbca0abb2a94daf9ba23d721eb98f6d4d17e3df7dda94a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c697a6d61702f6c697a6d61702d70676d657461646174612d6d6f64756c65)](https://packagist.org/packages/lizmap/lizmap-pgmetadata-module)

This module is designed for [Lizmap Web Client](https://github.com/3liz/lizmap-web-client/), and allows displaying PostgreSQL layers metadata stored in the layer database.

The metadata must be created in the PostgreSQL database as designed in the [PgMetadata QGIS plugin](https://github.com/3liz/qgis-pgmetadata-plugin).

[![Metadata information panel](metadata_information_panel.jpeg)](metadata_information_panel.jpeg)

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

[](#installation)

Once Lizmap Web Client application is installed and working, you can install the pgmetadata module:

Since version 0.2.4, it is recommended to install the module with [Composer](https://getcomposer.org), the package manager for PHP. If you can't use it or if you are using Lizmap 3.3 or lower, use the manual way to install the module (jump to the corresponding section below)

### 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-pgmetadata-module"
```

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

If you are using Lizmap 3.6 or higher, first execute

```
php configurator.php pgmetadata
php configurator.php pgmetadataAdmin
```

Then, for Lizmap 3.4 and higher:

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

Go to the next section "Publish your metadata as a DCAT catalog".

### Manual installation into lizmap 3.3 or 3.4 without Composer

[](#manual-installation-into-lizmap-33-or-34-without-composer)

- Get the last ZIP archive in the [release page](https://github.com/3liz/lizmap-pgmetadata-module/releases) of the GitHub repository.
- Extract the archive and copy the `pgmetadata` and `pgmetadataAdmin` directories in Lizmap Web Client folder `lizmap/lizmap-modules/`
- Edit the config file `lizmap/var/config/localconfig.ini.php` and add into the section `[modules]`:

```
pgmetadata.access=2
pgmetadataAdmin.access=2
```

- Add into the section `[simple_urlengine_entrypoints]`:

```
admin="jacl2db~*@classic,jacl2db_admin~*@classic,jauthdb_admin~*@classic,master_admin~*@classic,admin~*@classic,jcommunity~*@classic,pgmetadataAdmin~*@classic"
```

If the parameter already exists, add `,pgmetadataAdmin~*@classic` into the value.

- If you are using Lizmap 3.6 or higher, execute

```
php lizmap/install/configurator.php pgmetadata
php lizmap/install/configurator.php pgmetadataAdmin
```

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

```
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh
```

Publish your metadata as a DCAT catalog
---------------------------------------

[](#publish-your-metadata-as-a-dcat-catalog)

If you need to publish your metadata catalog as an RDF catalog, for example to be harvested by a third-party metadata platform such as Ckan, you need to declare the needed credentials to your PostgreSQL database hosting the metadata.

To do it, go into the administration interface of Lizmap, click on the pgmetadata menu item, and you could indicate these credentials.

Then, you would be able to access the following URLs

- **The full RDF catalog** with a URL like: https://\[YOUR\_LIZMAP\_URL\]/index.php/pgmetadata/dcat/
- **One dataset record by UUID** identifier with: https://\[YOUR\_LIZMAP\_URL\]/index.php/pgmetadata/dcat/?id=76853e57-387e-4b8d-9ee8-f176e11cd9ce
- **Filter datasets** containing a specified **keyword** (exact match): https://\[YOUR\_LIZMAP\_URL\]/index.php/pgmetadata/dcat/?q=akeyword

The XML created and returned would be like:

```

    PgMetadata DCAT RDF catalog
    fr
    PgMetadata

        76853e57-387e-4b8d-9ee8-f176e11cd9ce
        Test title
        Test abstract.
        en
        Licence Ouverte Version 2.1
        Open
        Yearly
        {"type":"Polygon","coordinates":[[[3.854,43.5786],[3.854,43.622],[3.897,43.622],[3.897,43.5786],[3.854,43.5786]]]}
        2020-12-31T09:16:16.980258
        2020-12-31T09:16:16.980258
        2020-12-31T09:16:16.980258

            Jane Doe - Acme (GIS)
            jane.doe@acme.gis

            Jane Doe - Acme (GIS)
            jane.doe@acme.gis

            Bob Robert - Corp (Spatial div)
            bob.bob@corp.spa

            test link
            Link description
            https://metadata.is.good
            application/pdf
            a file
            590

        tag_one
        tag_two
        test theme
        New test theme

```

Contribution guide
------------------

[](#contribution-guide)

For PHP, the project is using PHP-CS-Fixer. For JavaScript, it's using ESLint. Install it using `npm install`.

There are commands in the Makefile to run them.

Getting help
------------

[](#getting-help)

- Send an email to the Lizmap mailing list at
- Join us on IRC , #lizmap on
- Open a Github tickets on
- Commercial support through 3liz , [Contact Us](mailto:info@3liz.com?subject=CommercialSupportRequest)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance44

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~206 days

Total

17

Last Release

349d ago

Major Versions

0.2.4 → v1.0.02022-09-21

### 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)

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

---

Top Contributors

[![laurentj](https://avatars.githubusercontent.com/u/336034?v=4)](https://github.com/laurentj "laurentj (39 commits)")[![Gustry](https://avatars.githubusercontent.com/u/1609292?v=4)](https://github.com/Gustry "Gustry (24 commits)")[![mdouchin](https://avatars.githubusercontent.com/u/3492210?v=4)](https://github.com/mdouchin "mdouchin (22 commits)")[![pdrillin](https://avatars.githubusercontent.com/u/16720972?v=4)](https://github.com/pdrillin "pdrillin (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![nworr](https://avatars.githubusercontent.com/u/43475951?v=4)](https://github.com/nworr "nworr (7 commits)")[![rldhont](https://avatars.githubusercontent.com/u/1575538?v=4)](https://github.com/rldhont "rldhont (3 commits)")

---

Tags

lizmaplizmap-modulemetadataqgismetadatamodulejelixlizmap

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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