Skip to content

New composer script handler to deploy SimpleSAMLphp assets#532

Open
mingsong-hu wants to merge 1 commit intogovCMS:4.x-developfrom
mingsong-hu:feature/simplesamlphp-base-asset
Open

New composer script handler to deploy SimpleSAMLphp assets#532
mingsong-hu wants to merge 1 commit intogovCMS:4.x-developfrom
mingsong-hu:feature/simplesamlphp-base-asset

Conversation

@mingsong-hu
Copy link
Copy Markdown
Contributor

@mingsong-hu mingsong-hu commented Feb 28, 2026

Instead of enabling the composer-module-installer plugin, this PR adds a custom Composer script handler (installSimpleSamlAssets) that:

  1. Keeps "simplesamlphp/composer-module-installer": false — no other SSP modules can auto-install
  2. Copies only the web-asset directories (css, js, icons, webfonts) from simplesamlphp-assets-base module into the asset folder required by a HTTP-POST binding login form.
  3. Ignores non-asset files (.gitignore, .gitattributes, composer.json)
  4. Runs automatically on composer install and composer update via post-install-cmd / post-update-cmd
  5. Uses the existing ScriptHandler.php pattern and Symfony\Component\Filesystem already available in the project

@mingsong-hu mingsong-hu force-pushed the feature/simplesamlphp-base-asset branch from b32b8ee to 8afc4ca Compare February 28, 2026 07:52
@mingsong-hu mingsong-hu changed the base branch from 4.x-develop to release/3.x/10.5.5.1 March 16, 2026 01:36
@mingsong-hu mingsong-hu changed the base branch from release/3.x/10.5.5.1 to 4.x-develop March 16, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant