PHPackages                             greeneffect/contao-content-visibility - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. greeneffect/contao-content-visibility

ActiveContao-bundle[Authentication &amp; Authorization](/categories/authentication)

greeneffect/contao-content-visibility
=====================================

Restrict tl\_content visibility in Contao back end based on back end user groups.

v1.1.0(2mo ago)03CC-BY-SA-4.0PHPPHP ^8.1CI failing

Since Apr 1Pushed 2mo agoCompare

[ Source](https://github.com/GreenEffect/contao-content-visibility)[ Packagist](https://packagist.org/packages/greeneffect/contao-content-visibility)[ Docs](https://github.com/GreenEffect/contao-content-visibility)[ RSS](/packages/greeneffect-contao-content-visibility/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

 [![Contao Content Visibility](./logo.svg)](./logo.svg)

Contao Content Visibility
-------------------------

[](#contao-content-visibility)

Contao 5 bundle to **restrict the visibility of content elements (`tl_content`) in the back end** based on the current back end user's groups.

---

Features
--------

[](#features)

- **Checkbox** to mark a content element as restricted.
- **Group selection**: pick the back end user groups that should not see the element.
- **Full hiding**: restricted elements are removed from the listing for targeted users.
- **Admins excluded**: `isAdmin = true` users always see everything.
- **Non-intrusive**: does not replace Contao's native permission system.

---

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

[](#installation)

### Using Composer (Packagist)

[](#using-composer-packagist)

```
composer require greeneffect/contao-content-visibility
```

### Using Contao Manager

[](#using-contao-manager)

- Add the package, then run the update (or let the Manager handle it).

---

Documentation
-------------

[](#documentation)

- English documentation: `docs/en/README.md`
- Documentation française: `docs/fr/README.md`

---

Database migration
------------------

[](#database-migration)

After installation, run:

```
php vendor/bin/contao-console contao:migrate
```

Or via **Contao Manager** → Maintenance → Database update.

Two columns will be added to `tl_content`:

- `hide_content` — `char(1) NOT NULL default ''`
- `hide_from_groups` — `blob NULL`

---

Usage
-----

[](#usage)

1. Edit an existing content element in the back end.
2. In the **Administration visibility** legend, enable the restriction checkbox.
3. Select one or more back end user groups.
4. Save.

Users belonging to the selected groups will no longer see the element in `tl_content` listings.

---

Technical notes
---------------

[](#technical-notes)

- The filtering is **back end only** and targets `tl_content`.
- The front end output/publication is not affected.
- Compatible with **Contao 5.3+** / **PHP 8.1+**.
- Namespace: `Greeneffect\ContaoContentVisibility`.

---

License
-------

[](#license)

CC BY-SA 4.0

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance86

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Total

3

Last Release

83d ago

Major Versions

0.8.2 → v1.0.02026-04-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/76b2273777c75eed189fdede2472790fe2e4e46e7d477b63323cf88cd8ccb616?d=identicon)[Green Effect](/maintainers/Green%20Effect)

---

Top Contributors

[![GreenEffect](https://avatars.githubusercontent.com/u/1861230?v=4)](https://github.com/GreenEffect "GreenEffect (5 commits)")

---

Tags

phpsymfonycmscontaobackendaccess-controluser-groupscontao-bundlecontao5tl\_content

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/greeneffect-contao-content-visibility/health.svg)

```
[![Health](https://phpackages.com/badges/greeneffect-contao-content-visibility/health.svg)](https://phpackages.com/packages/greeneffect-contao-content-visibility)
```

###  Alternatives

[contao-community-alliance/dc-general

Universal data container for Contao

1579.5k90](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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