Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ After each change run `composer update webware/webware-navigation` (the lock
pins the commit hash).

Note: the package types against `Webware\Core\AclInterface` and
`Webware\Core\UserInterface`, both provided by `webware/webware-core`, which this
package requires.
`Webware\Core\UserInterface`, both provided by `webware/webware-core`. That
package is only needed to filter navigation by ACL. Without it the helper builds
with a null ACL and includes every route in the navigation.

Add to `config/config.php`:

Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"psr/container": "^2.0",
"psr/http-message": "^2.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"webware/webware-core": "^1.0.0-alpha.6"
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"infection/infection": "^0.35.0",
Expand All @@ -32,8 +31,12 @@
"phpunit/phpunit": "^13.4.4",
"roave/backward-compatibility-check": "^8.21.0",
"roave/security-advisories": "dev-master",
"webware/webware-core": "^1.0.0-alpha.6",
"webware/webware-tools": "^1.0.0-rc.14"
},
"suggest": {
"webware/webware-core": "Only needed to filter navigation by ACL; without it the helper builds with a null ACL and the ACL check is skipped"
},
"autoload": {
"psr-4": {
"Webware\\Navigation\\": "src/"
Expand Down
Loading
Loading