PHPackages                             netgen/siteaccess-routes-bundle - 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. [API Development](/categories/api)
4. /
5. netgen/siteaccess-routes-bundle

ActiveIbexa-bundle[API Development](/categories/api)

netgen/siteaccess-routes-bundle
===============================

Netgen Siteaccess Routes Bundle is an Ibexa Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used

4.0.0(6mo ago)1545.1k↑42.9%22GPL-2.0-onlyPHPCI passing

Since Aug 12Pushed 6mo ago8 watchersCompare

[ Source](https://github.com/netgen/NetgenSiteAccessRoutesBundle)[ Packagist](https://packagist.org/packages/netgen/siteaccess-routes-bundle)[ Docs](https://github.com/netgen/NetgenSiteAccessRoutesBundle)[ RSS](/packages/netgen-siteaccess-routes-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (6)Used By (2)

Netgen Siteaccess Routes Bundle
===============================

[](#netgen-siteaccess-routes-bundle)

[![Code Coverage](https://camo.githubusercontent.com/bfaeef78be84b7ba84517782a135d0a18bcc7da3c4fb318fadddd9988331a3d1/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6e657467656e2f4e657467656e53697465416363657373526f7574657342756e646c652e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/netgen/NetgenSiteAccessRoutesBundle)[![Quality Score](https://camo.githubusercontent.com/f6f258254f2eef8a2587a14ffc2f078a388f883d8e698db4af140918e702099b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e657467656e2f4e657467656e53697465416363657373526f7574657342756e646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/netgen/NetgenSiteAccessRoutesBundle)[![Downloads](https://camo.githubusercontent.com/7ce7c02266d2622b351b80d0f43348fbac3143e1b7b8ae29503c5afca50f5aca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e657467656e2f736974656163636573732d726f757465732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/netgen/siteaccess-routes-bundle)[![Latest stable](https://camo.githubusercontent.com/765c8b514bc02a5b56f75e8cd075f63ba27f355459c7241052c9b12548f0d76e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e657467656e2f736974656163636573732d726f757465732d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/netgen/siteaccess-routes-bundle)[![License](https://camo.githubusercontent.com/f3674782857ca8e973911f7e32994f6a7eb565471d1baf0494cfba85b5ac0eab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e657467656e2f4e657467656e53697465416363657373526f7574657342756e646c652e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Netgen Siteaccess Routes Bundle is an Ibexa Platform bundle which allows you to specify in which siteaccesses or siteaccess groups can a route be used.

By default, all routes are accessible in all siteaccesses. To specify in which siteaccess a route can be used, you will need to add an `allowed_siteaccess` param to the `defaults` section of a route or route import:

```
netgen_site_blog:
    path: /blog
    controller: "netgen_site.controller.blog:blogAction"
    methods: [GET]
    defaults:
        allowed_siteaccess: cro
```

```
// if using PHP attributes
#[Route(path: '/home', defaults: ['allowed_siteaccess' => 'cro'], methods: ['GET'])]
```

or

```
_netgen_site:
    resource: "@NetgenSiteBundle/Resources/config/routing.yaml"
    defaults:
        allowed_siteaccess: cro
```

You can even specify an array of siteaccesses, or use siteaccess groups:

```
defaults:
    allowed_siteaccess: [backend_group, cro]
```

As a special case, you can use `_default` keyword to signal that the route is also accessible in the default siteaccess, whichever siteaccess that may be.

```
defaults:
    allowed_siteaccess: [cro, _default]
```

```
// if using PHP attributes
#[Route(path: '/home', defaults: ['allowed_siteaccess' => ['cro', '_default']], methods: ['GET'])]
```

If the route is not available in current siteaccess, a 404 Not Found response will be returned.

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

[](#installation)

Use Composer:

```
composer require netgen/siteaccess-routes-bundle
```

Activate in `config/bundles.php`:

```
Netgen\Bundle\SiteAccessRoutesBundle\NetgenSiteAccessRoutesBundle::class => ['all' => true],
```

That's it. Configure the routes and go about your day.

License
-------

[](#license)

[GNU General Public License v2](LICENSE)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance66

Regular maintenance activity

Popularity36

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 94.3% 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 ~839 days

Total

5

Last Release

208d ago

Major Versions

1.1.0 → 2.0.02020-04-24

2.0.0 → 3.0.02022-03-04

3.0.0 → 4.0.02025-10-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/362286?v=4)[Edi Modrić](/maintainers/emodric)[@emodric](https://github.com/emodric)

![](https://avatars.githubusercontent.com/u/594589?v=4)[Netgen](/maintainers/netgen)[@netgen](https://github.com/netgen)

---

Top Contributors

[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (50 commits)")[![MarioBlazek](https://avatars.githubusercontent.com/u/6605175?v=4)](https://github.com/MarioBlazek "MarioBlazek (3 commits)")

---

Tags

ezplatformroutingsiteaccesssymfonynetgenibexasiteaccesssiteaccess-routes-bundle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/netgen-siteaccess-routes-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/netgen-siteaccess-routes-bundle/health.svg)](https://phpackages.com/packages/netgen-siteaccess-routes-bundle)
```

###  Alternatives

[netgen/open-graph-bundle

Netgen Open Graph Bundle is an Ibexa Platform bundle that allows simple integration with Open Graph protocol.

1453.7k7](/packages/netgen-open-graph-bundle)[netgen/tagsbundle

Netgen Tags Bundle is an Ibexa DXP bundle for taxonomy management and easier classification of content, providing more functionality for tagging content than ibexa\_keyword field type included in Ibexa core.

49456.8k21](/packages/netgen-tagsbundle)[netgen/enhanced-selection-bundle

Netgen Enhanced Selection bundle for Ibexa Platform

19101.6k4](/packages/netgen-enhanced-selection-bundle)[novactive/ezseobundle

Novactive eZ SEO Bundle is an Ibexa Platform bundle for SEO simplications. metas, sitemaps, robots.txt, etc.

26252.0k2](/packages/novactive-ezseobundle)

PHPackages © 2026

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