{"id":26178729,"url":"https://github.com/linkorb/wiki-bundle","last_synced_at":"2026-01-30T18:01:18.633Z","repository":{"id":33831338,"uuid":"151368846","full_name":"linkorb/wiki-bundle","owner":"linkorb","description":"Symfony 4 Wiki Bundle","archived":false,"fork":false,"pushed_at":"2026-01-20T10:11:18.000Z","size":269,"stargazers_count":3,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-01-20T19:38:43.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linkorb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-10-03T06:14:42.000Z","updated_at":"2026-01-20T10:11:21.000Z","dependencies_parsed_at":"2023-11-16T10:27:42.558Z","dependency_job_id":"7cb591f1-d3a1-4ccf-b4c2-669e2cfebd3d","html_url":"https://github.com/linkorb/wiki-bundle","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/linkorb/wiki-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fwiki-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fwiki-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fwiki-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fwiki-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkorb","download_url":"https://codeload.github.com/linkorb/wiki-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkorb%2Fwiki-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28917033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-11T21:42:18.505Z","updated_at":"2026-01-30T18:01:18.628Z","avatar_url":"https://github.com/linkorb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e This is a read-only repository used to release the subtree. Any issues and pull requests should be forwarded to the\n\u003e upstream [Nebula repository](https://github.com/linkorb/nebula).\n\n# Symfony 5|6|7 WikiBundle\n\n`linkorb/wiki-bundle` adds a wiki to Symfony web applications.\n\n## Features\n\n- Store and manage wiki content in-app or from external sources\n- Import/export wikis\n- Easily track events and changes\n- Create wiki pages from existing templates\n- Format wiki pages with Markdown\n- Enforce strict wiki access control\n\n## Installation\n\nOpen a command console at the root of your project and execute the\nfollowing command.\n\n```console\ncomposer require linkorb/wiki-bundle\n```\n\n## Setup\n\n1. Register the bundle's routes by creating a ***config/routes/linkorb-wiki-bundle.yaml*** file with the following as its contents.\n\n    ```yaml\n    wiki_bundle:\n      resource: '@LinkORBWikiBundle/src/Controller'\n      type: attribute\n    ```\n\n2. Append the following block in the application's base twig template.\n\n    ```twig\n      {% block sidebar %}{% endblock %}\n      {% block submenu %}{% endblock %}\n    ```\n\n4. Configure the data directory in your services.yaml file\n\n```yaml\nparameters:\n  wiki_bundle_data_dir: '%kernel.project_dir%/var'\n```\n\n## Wiki access control\n\n\u003e [!DEPRECATED]\nUse [Symfony security roles](https://symfony.com/doc/current/security.html#roles) defined in your application to control who can access or modify a wiki by setting the appropriate rules in the **Read role** and **Write role** fields of the **Add wiki** form of a Symfony application.\n\nTo extend the capabilities of wiki (and their sub-pages) access control rules, the wikis have an editable\naccess control expression field. This field allows end-users to write additional rules using symfony's expression language.\nExample: `is_granted(\"ROLE_ADMIN\")`\n\nThe access control checks are left to the application embedding this bundle. One way you could do that would be in your\nVoter class, which handles the `Wiki` and `WikiPage` entities (`$wikiPage-\u003egetWiki()`).\n\n```php\n  $aclExpression = $wiki-\u003egetAccessControlExpression();\n  $hasAclExpression = !empty($aclExpression);\n  return !$hasAclExpression || $aclEval-\u003eeval($aclExpression);\n```\n\nAssume in this example that `$aclEval` is an instance of [IsGrantedEval](src/AccessControl/IsGrantedEval.php) (can be autowired).\n\n`IsGrantedEval` is the default provided implementation of the [AccessControl/EvalInterface](src/AccessControl/EvalInterface.php).\nIt provides a single function to use in the ACL expression; the `is_granted` function, which behaves like the built-in symfony\nfunction.\n\nIf you want to extend the types of access control functions users have access to in the ACL expression field, you must\nextend the `EvalInterface`, and swap out the implementation in the service config.\n\n```yaml\n  LinkORB\\Bundle\\WikiBundle\\AccessControl\\EvalInterface:\n    alias: App\\Security\\MyAccessControlEvaluator\n```\n\n## Wiki configuration\n\nThe `config` field of this bundle's **Add wiki** form may be used to customize a wiki using the following settings (in YAML format):\n\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eSetting\u003c/th\u003e\n    \u003cth\u003eType\u003c/th\u003e\n    \u003cth\u003eDescription\u003c/th\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003eread-only\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003eBoolean\u003c/td\u003e\n    \u003ctd\u003eAllows or denies users wiki page creation and editing permissions. This should be set to \u003ccode\u003etrue\u003c/code\u003e if a wiki is externally managed (on GitHub for example).\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003epull\u003c/code\u003e\n    \u003ctd\u003eArray\u003c/td\u003e\n    \u003ctd\u003e\n      Settings for pulling changes from a wiki that is managed on a third-party platform like GitHub. Each item (repository) in the array takes the following \u003cstrong\u003erequired\u003c/strong\u003e settings:\n      \u003cul\u003e\n        \u003cli\u003e\u003ccode\u003etype\u003c/code\u003e: The project/version management type. Valid options include \u003cstrong\u003erest\u003c/strong\u003e,\u003cstrong\u003eclickup\u003c/strong\u003e, and \u003cstrong\u003egit\u003c/strong\u003e. However, only \u003ccode\u003egit\u003c/code\u003e is supported at this time.\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003eurl\u003c/code\u003e: The target repository's HTTPS URL.\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003esecret\u003c/code\u003e: A \u003ca href=\"https://github.com/settings/personal-access-tokens\"\u003efine-grained\u003c/a\u003e or a \u003ca href=\"https://github.com/settings/personal-access-tokens\"\u003eclassic\u003c/a\u003e GitHub personal access token that has \u003ccode\u003epush\u003c/code\u003e and \u003ccode\u003epull\u003c/code\u003e permissions to the target repository specified in the \u003ccode\u003eurl\u003c/code\u003e field.\n        \u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ccode\u003epush\u003c/code\u003e\n    \u003ctd\u003eArray\u003c/td\u003e\n    \u003ctd\u003e\n      Settings for pushing changes from a wiki to a third-party platform where the wiki's content is stored. Each item (repository) in the array takes the following \u003cstrong\u003erequired\u003c/strong\u003e settings:\n      \u003cul\u003e\n        \u003cli\u003e\u003ccode\u003etype\u003c/code\u003e: The project/version management type. Valid options include \u003cstrong\u003erest\u003c/strong\u003e,\u003cstrong\u003eclickup\u003c/strong\u003e, and \u003cstrong\u003egit\u003c/strong\u003e. However, only \u003ccode\u003egit\u003c/code\u003e is supported at this time.\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003eurl\u003c/code\u003e: The target repository's HTTPS URL.\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003esecret\u003c/code\u003e:A \u003ca href=\"https://github.com/settings/personal-access-tokens\"\u003efine-grained\u003c/a\u003e or a \u003ca href=\"https://github.com/settings/personal-access-tokens\"\u003eclassic\u003c/a\u003e GitHub personal access token that has \u003ccode\u003epush\u003c/code\u003e and \u003ccode\u003epull\u003c/code\u003e permissions to the target repository specified in the \u003ccode\u003eurl\u003c/code\u003e field.\n        \u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n#### Sample wiki configuration\n\nFor example, setting the following wiki configuration prevents users from creating and editing wiki pages that are managed externally (e.g., in a GitHub repository).\n\n```yaml\n# wiki.config\n\nread-only: true\n\npush:\n  - type: git\n    url: https://github.com/\u003cUSERNAME\u003e/\u003cWIKI-REPOSITORY.git\u003e\n    secret: `ENV:WIKI_GIT_TOKEN`\n\npull:\n  - type: git\n    url: https://github.com/\u003cUSERNAME\u003e/\u003cWIKI-REPOSITORY.git\u003e\n    secret: `ENV:WIKI_GIT_TOKEN`\n```\n\n\u003e [!TIP]\n\u003e Git publish and pull links are in the wiki page's admin dropdown.\n\n\u003e [!NOTE]\n\u003e If the GitHub repository is not empty, pull from it first to sync the repository before pushing any changes.\n\n## Brought to you by the LinkORB Engineering team\n\n\u003cimg src=\"http://www.linkorb.com/d/meta/tier1/images/linkorbengineering-logo.png\" width=\"200px\" /\u003e\u003cbr /\u003e\nCheck out our other projects at [engineering.linkorb.com](https://engineering.linkorb.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fwiki-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkorb%2Fwiki-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkorb%2Fwiki-bundle/lists"}