{"id":23859221,"url":"https://github.com/openconext/stepup-bundle","last_synced_at":"2025-07-06T15:07:19.299Z","repository":{"id":22677254,"uuid":"26020786","full_name":"OpenConext/Stepup-bundle","owner":"OpenConext","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-12T12:29:14.000Z","size":561,"stargazers_count":0,"open_issues_count":2,"forks_count":2,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-06-16T09:56:08.125Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenConext.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2014-10-31T15:04:22.000Z","updated_at":"2024-09-12T12:29:19.000Z","dependencies_parsed_at":"2024-01-09T11:03:13.077Z","dependency_job_id":"3860afdd-86d3-4507-8d4f-8b70acafbc19","html_url":"https://github.com/OpenConext/Stepup-bundle","commit_stats":{"total_commits":224,"total_committers":10,"mean_commits":22.4,"dds":0.6428571428571428,"last_synced_commit":"ed19b5e414394d0738bd94520070d3969ddc6886"},"previous_names":[],"tags_count":74,"template":false,"template_full_name":null,"purl":"pkg:github/OpenConext/Stepup-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FStepup-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FStepup-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FStepup-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FStepup-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenConext","download_url":"https://codeload.github.com/OpenConext/Stepup-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenConext%2FStepup-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263922513,"owners_count":23530338,"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":[],"created_at":"2025-01-03T03:32:59.442Z","updated_at":"2025-07-06T15:07:19.245Z","avatar_url":"https://github.com/OpenConext.png","language":"PHP","readme":"# Step-up Bundle\n[![Build Status](https://travis-ci.org/OpenConext/Stepup-bundle.svg)](https://travis-ci.org/OpenConext/Stepup-bundle) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/OpenConext/Stepup-bundle/badges/quality-score.png?b=develop)](https://scrutinizer-ci.com/g/OpenConext/Stepup-bundle/?branch=develop) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/5b8b8d8b-e917-4954-818b-782d9e181c75/mini.png)](https://insight.sensiolabs.com/projects/5b8b8d8b-e917-4954-818b-782d9e181c75)\n\nA Symfony 2 and 3 bundle that holds shared code and framework integration for all Step-up applications. See [Stepup-Deploy](https://github.com/OpenConext/Stepup-Deploy) for an overview of Stepup.\n\n## Installation\n\n * Add the package to your Composer file (For Symfony 2 support, please use a version constraint \"~3.5\")\n    ```sh\n    composer require surfnet/stepup-bundle\n    ```\n\n * Add the bundle to your kernel in `app/AppKernel.php`\n    ```php\n    public function registerBundles()\n    {\n        // ...\n        $bundles[] = new Surfnet\\StepupBundle\\SurfnetStepupBundle;\n    }\n    ```\n\n * Copy and adjust the error templates to your application folder\n    * `src/Resources/views/Exception/error.html.twig` → `app/Resources/SurfnetStepupBundle/views/Exception/error.html.twig`\n    * `src/Resources/views/Exception/error404.html.twig` → `app/Resources/SurfnetStepupBundle/views/Exception/error404.html.twig`\n\n### Install resources\n\n```twig\n{% stylesheets filter='less'\n'@SurfnetStepupBundle/Resources/public/less/stepup.less'\n%}\n\u003clink href=\"{{ asset_url }}\" type=\"text/css\" rel=\"stylesheet\" media=\"screen\" /\u003e\n{% endstylesheets %}\n{% javascripts\n'@SurfnetStepupBundle/Resources/public/js/stepup.js'\n%}\n\u003cscript type=\"text/javascript\" src=\"{{ asset_url }}\"\u003e\u003c/script\u003e\n{% endjavascripts %}\n```\n\n## Using the locale switcher\n\nThe locale switcher is a form that can be rendered with the help of a Twig function.\n\n```twig\n{% if app.user %}\n    {% set locale_switcher = stepup_locale_switcher('handler_route', ['return-url' =\u003e app.request.uri]) %}\n    {{ form_start(locale_switcher, { attr: { class: 'form-inline' }}) }}\n    {{ form_widget(locale_switcher.locale) }}\n    {{ form_widget(locale_switcher.switch) }}\n    {{ form_end(locale_switcher) }}\n{% endif %}\n{% stylesheets filter='less'\n'@SurfnetStepupBundle/Resources/public/less/style.less'\n%}\n\u003clink href=\"{{ asset_url }}\" type=\"text/css\" rel=\"stylesheet\" media=\"screen\" /\u003e\n{% endstylesheets %}\n{% javascripts\n'@SurfnetStepupBundle/Resources/public/js/index.js'\n%}\n\u003cscript type=\"text/javascript\" src=\"{{ asset_url }}\"\u003e\u003c/script\u003e\n{% endjavascripts %}\n```\n\n## Release strategy\n\n### CHANGELOG\nThe changelog for the bundle is kept in the `./CHANGELOG` file. A history of the releases can be found in this file.\nPrevious RMT release notes are kept in this file for history purposes. Please use markdown to style the changelog.  \n\nPlease update the changelog with any notable changes that are introduced in an upcoming release. If you are not yet \ncertain what the next release number will be, give the release title a generic value like `Upcoming release`. Make sure\nbefore merging the changes to the release branch to update the release title in the changelog.\n\n**Example CHANGELOG entry**\n```\n# 2.5.23\nBrief explenation on the major changes of this release\n\n## New features\n * Title of PR of the new feature #30\n * Support of POST binding for AuthnRequest #31\n \n## Bugfixes\n * Title of PR of the bugfix #33\n\n## Improvements\n * Title of PR of the improvement #29\n \n```\n\nWhen releasing a hotfix on a release branch, please update the changelog on the release branch and after releasing the\nhotfix, also merge the hotfix to develop.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenconext%2Fstepup-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenconext%2Fstepup-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenconext%2Fstepup-bundle/lists"}