{"id":14968641,"url":"https://github.com/os2forms/os2forms","last_synced_at":"2025-10-26T05:30:34.674Z","repository":{"id":38360459,"uuid":"222681732","full_name":"OS2Forms/os2forms","owner":"OS2Forms","description":"Provides advanced webform functionality for Danish Municipalities.","archived":false,"fork":false,"pushed_at":"2024-10-31T11:41:41.000Z","size":823,"stargazers_count":1,"open_issues_count":5,"forks_count":3,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2024-11-08T01:12:19.528Z","etag":null,"topics":["composer","drupal","drupal8","drupal8-module","os2","os2forms-drupal","php","webform"],"latest_commit_sha":null,"homepage":"https://os2.eu/produkt/os2forms","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/OS2Forms.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-11-19T11:36:14.000Z","updated_at":"2024-10-31T11:34:53.000Z","dependencies_parsed_at":"2023-02-14T07:01:04.444Z","dependency_job_id":"e398bbfe-3b95-40a7-ae27-e30f04933f5e","html_url":"https://github.com/OS2Forms/os2forms","commit_stats":{"total_commits":457,"total_committers":20,"mean_commits":22.85,"dds":0.5908096280087527,"last_synced_commit":"1f4ada55413904930037225e4368dd23f4450ab8"},"previous_names":[],"tags_count":103,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2Forms%2Fos2forms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2Forms%2Fos2forms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2Forms%2Fos2forms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OS2Forms%2Fos2forms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OS2Forms","download_url":"https://codeload.github.com/OS2Forms/os2forms/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238264672,"owners_count":19443388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["composer","drupal","drupal8","drupal8-module","os2","os2forms-drupal","php","webform"],"created_at":"2024-09-24T13:40:20.530Z","updated_at":"2025-10-26T05:30:34.668Z","avatar_url":"https://github.com/OS2Forms.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OS2Forms Drupal module  [![Build Status](https://travis-ci.org/OS2Forms/os2forms.svg?branch=8.x)](https://travis-ci.org/OS2Forms/os2forms)\n\n## Install\n\nOS2Forms Drupal 8 module is available to download via composer.\n\n```sh\ncomposer require os2forms/os2forms\ndrush en os2forms\n```\n\nIf you don't have Drupal installed on you server, you will to need install it first.\nRead more about [how to install drupal core](https://www.drupal.org/docs/8/install).\n\nWe are recommending to install drupal via composer by using\n[OS2Forms composer project](https://github.com/OS2Forms/composer-project).\nBy this way you will get standalone project with OS2Forms module on board, plus\nall the other contrib modules you will probably need to configure OS2Forms to\nyour specific demands.\n\n```sh\ncomposer create-project os2forms/composer-project:8.x-dev some-dir --no-interaction\n```\n\nTo get more benefits on your Drupal project we are offering you to use\n[OS2web](https://packagist.org/packages/os2web/os2web) as installation\nprofile for Drupal. This profile is a part of OS2Forms composer project\nmentioned above.\n\nYou can easy download and install OS2web installation profile to your\ncomposer based Drupal project with commands:\n\n```sh\ncomposer require os2web/os2web\ndrush si os2web --db-url=mysql://db_user:db_pass@mysql_host/db_name --locale=da --site-name=\"OS2Forms\" --account-pass=admin -y\n```\n\n## Update\n\nUpdating process for OS2forms module is similar to usual Drupal 8 module.\nUse Composer's built-in command for listing packages that have updates available:\n\n```sh\ncomposer outdated os2forms/os2forms\n```\n\n## Automated testing and code quality\n\nSee [OS2Forms testing and CI information](https://github.com/OS2Forms/docs#testing-and-ci)\n\n## Contribution\n\nOS2Forms project is opened for new features and os course bugfixes.\nIf you have any suggestion or you found a bug in project, you are very welcome\nto create an issue in github repository issue tracker.\nFor issue description there is expected that you will provide clear and\nsufficient information about your feature request or bug report.\n\n### Code review policy\n\nSee [OS2Forms code review policy](https://github.com/OS2Forms/docs#code-review)\n\n### Git name convention\n\nSee [OS2Forms git name convention](https://github.com/OS2Forms/docs#git-guideline)\n\n## Important notes\n\n### Webforms\n\nEach webform, including all its settings, is stored as configuration in db and\nwill(could) be exported as `yml` file via Drupal configuration management\nsystem. And afterwards could be tracked by `git`.\n\nIt means that all webform settings from drupal database will\nbe syncronized (exported/imported) with state stored in `yml` files from\nconfiguration folder stored in git repository. Without proper actions webforms\ncould be deleted or reverted to state in `yml` during synchronization.\n\nTo avoid/prevent this behavior we recommend use `Config ignore` module, where\nyou can add all settings you do not want to export/import via configuration\nmanagement system.\n\n### Serviceplatformen plugins\n\nSettings for CPR and CVR serviceplantormen plugins are storing as configuration\nin db and will(could) be exported as `yml` file via Drupal configuration\nmanagement system. And afterwards could be tracked by `git`.\n\nIf case you have public access to your git repository all setting from plugins\nwill be exposed for third persons.\n\nTo avoid/prevent this behavior we recommend use `Config ignore` module, where\nyou can add all settings you do not want to export/import via configuration\nmanagement system.\n\n## Unstable features\n\n### Export submissions to Word\n\nThis feature is still not part of Webform and Entity print modules stable versions\ndue to following issues:\n\n* [[Webform] Unlock possibility of using Entity print module export to Word\n  feature](https://www.drupal.org/project/webform/issues/3096552)\n* [[Entity Print] Add Export to Word\n  Support](https://www.drupal.org/project/entity_print/issues/2733781)\n\nTo get this functionality on drupal project there will be applied patches from\nissues above via Composer.\n\nNOTE: If you are downloading os2forms module without using composer, be aware\nthat you have apply those patches by yourself.\n\n## Coding standards\n\nOur coding are checked by GitHub Actions (cf.\n[.github/workflows/pr.yml](.github/workflows/pr.yml)). Use the commands below to\nrun the checks locally.\n\n### PHP\n\n```sh\ndocker compose pull\ndocker compose run --rm php composer install\n# Fix (some) coding standards issues.\ndocker compose run --rm php composer coding-standards-apply\ndocker compose run --rm php composer coding-standards-check\n```\n\n\u003e [!TIP]\n\u003e If the `composer install` commands fails with\n\u003e\n\u003e \u003e Unable to install module simplesamlphp/simplesamlphp-assets-base, package name must be on the form \"VENDOR/simplesamlphp-module-MODULENAME\".\n\u003e\n\u003e you can remove the `vendor` folder and rerun the `composer install` command (cf.\n\u003e \u003chttps://www.drupal.org/project/simplesamlphp_auth/issues/3350773\u003e).\n\n### Markdown\n\n```sh\ndocker compose pull\ndocker compose run --rm markdownlint markdownlint '**/*.md' --fix\ndocker compose run --rm markdownlint markdownlint '**/*.md'\n```\n\n## Code analysis\n\nWe use [PHPStan](https://phpstan.org/) for static code analysis.\n\nRunning statis code analysis on a standalone Drupal module is a bit tricky, so we use a helper script to run the\nanalysis:\n\n```shell\ndocker compose run --rm php ./scripts/code-analysis\n```\n\n**Note**: Currently the code analysis is only run on the `os2forms_digital_post` sub-module (cf. [`phpstan.neon`](./phpstan.neon)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fos2forms%2Fos2forms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fos2forms%2Fos2forms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fos2forms%2Fos2forms/lists"}