PHPackages                             inspiredminds/contao-bayern-portal - 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. inspiredminds/contao-bayern-portal

ActiveContao-bundle

inspiredminds/contao-bayern-portal
==================================

Contao extension to show data from the BayernPortal in the front end.

0.7.2(3y ago)0241LGPL-3.0-or-laterPHPPHP ^7.2 || ^8.0

Since Dec 16Pushed 3y ago2 watchersCompare

[ Source](https://github.com/inspiredminds/contao-bayern-portal)[ Packagist](https://packagist.org/packages/inspiredminds/contao-bayern-portal)[ Docs](https://github.com/inspiredminds/contao-bayern-portal)[ GitHub Sponsors](https://github.com/sponsors/fritzmg)[ RSS](/packages/inspiredminds-contao-bayern-portal/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Contao Bayern Portal
====================

[](#contao-bayern-portal)

This Contao extension allows you to integrate data from the BayernPortal via its [REST API](https://www.baybw-services.bayern.de/export-webservices.htm).

Usage
-----

[](#usage)

### Configuration

[](#configuration)

After installing this extension there will be a new back end module called *BayernPortal* under which you can create a configuration. Each configuration takes a name and the credentials for the BayernPortal API.

### Front End Modules

[](#front-end-modules)

The extension provides 6 different front end modules - one for each "main" entity type of the API, plus some additional ones:

- Ansprechpartner (Contacts)
- Behörden (Administrations)
- Dienststellen (Departments)
- Dienststelle Leistungen (Services of a Department)
- Lebenslagen (Circumstances)
- Leistungen (Services)

Each module will list all records retrieved from the API and provide detail links. Each module is also able to show the details of a record. Some of the modules also have the ability to define a redirect page for some entity types, so that the link to the detail view of that entity can be generated accordingly.

### Templating

[](#templating)

For most entities, there exists a list template and a detail template. The naming convention is `bayernportal__` - so the list element template for administrations (Behörden) will be named `bayernportal_behoerde_list` and its detail template will be named `bayernportal_behoerde_detail`. You can override the contents of these templates as usual. For the module itself there only exists one template that is used accross all modules: `mod_bayern_portal`.

In all the BayernPortal templates two special methods are available `$this->renderList()` and `$this->renderDetail()`. These methods take an API entity as its argument and they will automatically render either the list view or the detail view for that entity. See the default templates for their usage.

### Caching

[](#caching)

This extension takes advantage of the built in HTTP Cache of Contao and tags the responses according to the elements visible on a page. In order to increase speed and reduce requests to the API, the public cache should be enalbed for the pages which contain any of the aforementioned modules.

However, if you want to invalidate the cache, so that the newest information from the API is shown you do not have to invalidate the whole HTTP cache. Instead this extension provides an additional maintenance module in the back end where you can invalidate the cache for specific entities. So for example, if you changed the details of some contacts (Ansprechpartner), you can then invalidate only the according pages where information about contacts are shown.

Attributions
------------

[](#attributions)

The development of this extension was funded by the [City of Gunzenhausen](https://gunzenhausen.de/).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Recently: every ~36 days

Total

12

Last Release

1412d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25f6ec05570f72d0fcc4d0a4fef2309799d53badf8b30484284e73724661e0d8?d=identicon)[fritzmg](/maintainers/fritzmg)

---

Top Contributors

[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (18 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/inspiredminds-contao-bayern-portal/health.svg)

```
[![Health](https://phpackages.com/badges/inspiredminds-contao-bayern-portal/health.svg)](https://phpackages.com/packages/inspiredminds-contao-bayern-portal)
```

###  Alternatives

[contao/manager-bundle

Provides the Contao Managed Edition

181.3M61](/packages/contao-manager-bundle)

PHPackages © 2026

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