PHPackages                             riddlestone/zf-portals - 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. [Admin Panels](/categories/admin)
4. /
5. riddlestone/zf-portals

Abandoned → [riddlestone/brokkr-portals](/?search=riddlestone%2Fbrokkr-portals)ArchivedLibrary[Admin Panels](/categories/admin)

riddlestone/zf-portals
======================

A module to pull configuration together for portals, such as a public portal, an admin portal, etc.

v1.1.0(6y ago)031BSD-3-ClausePHPPHP ^7.2

Since Nov 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/riddlestone/zf-portals)[ Packagist](https://packagist.org/packages/riddlestone/zf-portals)[ Docs](https://github.com/riddlestone/zf-portals)[ RSS](/packages/riddlestone-zf-portals/feed)WikiDiscussions master Synced yesterday

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

[![Riddlestone](https://avatars0.githubusercontent.com/u/57593244?s=30&v=4)](https://github.com/riddlestone) ZF-Portals
=======================================================================================================================

[](#-zf-portals)

A module to pull configuration together for portals, such as a public portal, an admin portal, etc.

> ## Repository archived 2020-02-06
>
> [](#repository-archived-2020-02-06)
>
> This repository has moved to [riddlestone/brokkr-portals](https://github.com/riddlestone/brokkr-portals).

Adding Configuration
--------------------

[](#adding-configuration)

To add information about a portal, add it to a module configuration file under `portals.{portal_name}`:

```
return [
    'portals' => [
        'main' => [
            'layout' => 'main.layout',
            'resources' => [
                __DIR__ . '/../css/styles.css',
                __DIR__ . '/../js/scripts.js',
            ],
        ],
    ],
];
```

Alternatively, you can merge new configuration in manually if needed:

```
/** @var \Riddlestone\ZF\Portals\PortalManager $portalManager */

$portalManager->mergeConfig(
    [
        'main' => [
            'resources' => [
                'another.css',
            ],
        ],
    ]
);
```

Getting the Portal Manager
--------------------------

[](#getting-the-portal-manager)

```
/** @var \Zend\ServiceManager\ServiceManager $serviceManager */

$portalManager = $serviceManager->get(\Riddlestone\ZF\Portals\PortalManager::class);
```

Getting Configuration
---------------------

[](#getting-configuration)

```
/** @var \Riddlestone\ZF\Portals\PortalManager $portalManager */

# get a list of portals
$portals = $portalManager->getPortalNames();

# get the current portal name
$portal = $portalManager->getCurrentPortalName();

# get the config for a portal
$portalConfig = $portalManager->getPortalConfig('main');

# get the config for the current portal
$portalConfig = $portalManager->getCurrentPortalConfig();
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

2355d ago

### Community

Maintainers

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

---

Top Contributors

[![ariddlestone](https://avatars.githubusercontent.com/u/1448695?v=4)](https://github.com/ariddlestone "ariddlestone (7 commits)")

---

Tags

configzf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/riddlestone-zf-portals/health.svg)

```
[![Health](https://phpackages.com/badges/riddlestone-zf-portals/health.svg)](https://phpackages.com/packages/riddlestone-zf-portals)
```

###  Alternatives

[redchamps/module-clean-admin-menu

It will merge all third party extensions menu items to single menu item named 'Extensions'.

164416.3k](/packages/redchamps-module-clean-admin-menu)

PHPackages © 2026

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