Skip to content
Open
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ before starting to add changes.

## [Unreleased]

## [1.16.0] - 27.10.2025

- Adding OS2Forms 4 and 5 support.

## [1.15.0] - 13.03.2025

- Drupal 10 compatibility.
Expand Down
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,39 @@

This is a Drupal 9 installation profile for OS2forms project.

## Create a new drupal 9 project with dev stability to allow all required packages to be installed.
## Create a new drupal 9 project

1) Create a new drupal project.
```
Setting the stability to dev to allow all required packages to be installed and
also enable patching.

* Create a new drupal project.

```shell
composer create-project drupal/recommended-project:^9.0 os2forms
```

2) Change composer config.
```
* Change composer config.

```shell
composer config --no-plugins allow-plugins.zaporylie/composer-drupal-optimizations true
composer config --no-plugins allow-plugins.cweagans/composer-patches true
composer config --no-plugins allow-plugins.simplesamlphp/composer-module-installer true
composer config minimum-stability dev
```

3) Require the components of an os2forms project.
Set stability and ensure that patching is enabled. It will not automatically be
enabled by the `composer.json` files in the os2form profile.

```shell
composer config --json minimum-stability dev
composer config --json extra.enable-patching true
```
composer require "os2forms/os2forms:^3.3" "os2forms/os2forms_forloeb:^2.5" "os2forms/os2forms_forloeb_profile:^1.11" --with-all-dependencies

* Require the components of an os2forms project.

```shell
composer require "os2forms/os2forms:^3.3" "os2forms/os2forms_forloeb_profile:^1.11" --with-all-dependencies
```

### Install the os2forms_forloeb_profile

See https://www.drush.org/latest/commands/site_install
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"drupal/gin": "^3.0-rc",
"drupal/core": "^9 || ^10",
"drush/drush": "^11.4 || ^12",
"os2forms/os2forms": "^3.6 || ^4.0",
"os2forms/os2forms": "^3.6 || ^4 || ^5",
"os2web/os2web_simplesaml": "8.x-dev || master",
"drupal/cache_control_override": "^1.1|^2.0"
},
Expand Down
Loading