{"id":18604645,"url":"https://github.com/isleshocky77/sfsslrequirementplugin","last_synced_at":"2025-04-10T20:30:44.950Z","repository":{"id":66290074,"uuid":"1815685","full_name":"isleshocky77/sfSslRequirementPlugin","owner":"isleshocky77","description":"Git Mirror of Symfony's sfSslRequirementPlugin svn repository","archived":false,"fork":false,"pushed_at":"2014-01-03T06:40:49.000Z","size":124,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"1.3","last_synced_at":"2023-04-10T13:51:10.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.symfony-project.org/plugins/sfSslRequirementPlugin","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isleshocky77.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-28T22:16:19.000Z","updated_at":"2014-01-06T23:35:33.000Z","dependencies_parsed_at":"2023-02-20T01:45:17.936Z","dependency_job_id":null,"html_url":"https://github.com/isleshocky77/sfSslRequirementPlugin","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleshocky77%2FsfSslRequirementPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleshocky77%2FsfSslRequirementPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleshocky77%2FsfSslRequirementPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isleshocky77%2FsfSslRequirementPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isleshocky77","download_url":"https://codeload.github.com/isleshocky77/sfSslRequirementPlugin/tar.gz/refs/heads/1.3","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223445031,"owners_count":17146215,"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":"2024-11-07T02:18:36.532Z","updated_at":"2024-11-07T02:18:37.070Z","avatar_url":"https://github.com/isleshocky77.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"= sfSslRequirement plugin (for symfony 1.1) =\n\nThe `sfSslRequirement` is a symfony plugin that provides SSL encryption support for your module actions.\n\nIt gives you 2 new security settings: `require_ssl` and `allow_ssl`.\n\nThe plugin also adds 2 new `sfAction` methods: `-\u003esslRequired()` and `-\u003esslAllowed()`.\n\n== Logic ==\n\nOnly execute once per request and SF_ENVIRONMENT in one of the environments configured in app_disable_sslfilter\n  * if not posting\n   * if secured\n    * then check if its allowed else redirect from https to http\n    * else if secured required redirect from http to https\n\n== Installation ==\n\n  * Install the plugin\n\n  {{{\n    symfony plugin:install symfony/sfSslRequirementPlugin\n  }}}\n\n  * Activate the filter in your `filters.yml`\n\n  {{{\n    sfSslRequirement:\n      class: sfSslRequirementFilter\n  }}}\n\n  * Clear your cache\n\n  {{{\n    symfony cc\n  }}}\n\n=== Secure your application ===\n\nTo force SSL on an action:\n\n  * Add the following snippet to the module `security.yml`:\n\n  {{{\n    sslAction:\n      require_ssl: true\n  }}}\n\n  * You're done. Now, if you try to access the `sslAction` with HTTP, you will be automatically redirected to HTTPS.\n  * The `sslAction` listed here is an example.  Substitute with your actual action name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisleshocky77%2Fsfsslrequirementplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisleshocky77%2Fsfsslrequirementplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisleshocky77%2Fsfsslrequirementplugin/lists"}