{"id":18937523,"url":"https://github.com/rollerworks/x509validator-symfony","last_synced_at":"2026-05-05T02:37:44.645Z","repository":{"id":213971946,"uuid":"733000554","full_name":"rollerworks/X509Validator-symfony","owner":"rollerworks","description":"X509Validator Constraints for Symfony","archived":false,"fork":false,"pushed_at":"2024-02-04T10:43:34.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T21:42:25.624Z","etag":null,"topics":["php","symfony","tls","validator","x509"],"latest_commit_sha":null,"homepage":"","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/rollerworks.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-18T10:41:55.000Z","updated_at":"2023-12-24T18:22:17.000Z","dependencies_parsed_at":"2024-11-08T12:11:46.439Z","dependency_job_id":"9dbd01fd-0f29-4335-9595-5e3e3febec01","html_url":"https://github.com/rollerworks/X509Validator-symfony","commit_stats":null,"previous_names":["rollerworks/x509validator-symfony"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollerworks%2FX509Validator-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollerworks%2FX509Validator-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollerworks%2FX509Validator-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollerworks%2FX509Validator-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollerworks","download_url":"https://codeload.github.com/rollerworks/X509Validator-symfony/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239937700,"owners_count":19721483,"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":["php","symfony","tls","validator","x509"],"created_at":"2024-11-08T12:11:31.933Z","updated_at":"2026-03-21T16:30:19.240Z","avatar_url":"https://github.com/rollerworks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rollerworks X509Validator Symfony Bridge\n========================================\n\nThis package provides the Symfony validator/bundle integration for the \n[X509 TLS certificate/private-key validators][x509-validators].\n\nThe X509 TLS certificate/private-key validators validate the following:\n\n* CA chain completeness\n* PrivateKey bits length\n* Signature algorithm\n* OCSP Revocation status (requires internet access)\n* Certificate purpose\n* Certificate general validity (private-key compatibility, not expired, readable)\n* Certificate hostname pattern supported, and protection\n  against global wildcards of public-suffix length violations\n\n## Installation\n\nTo install this package, add `rollerworks/x509-validator-symfony` to your composer.json:\n\n```bash\nphp composer.phar require rollerworks/x509-validator-symfony\n```\n\nNow, [Composer][composer] will automatically download all required files,\nand install them for you.\n\n[Symfony Flex][flex] (with contrib) is assumed to enable the Bundle and add\nrequired configuration. https://symfony.com/doc/current/bundles.html\n\nOtherwise enable the following bundles:\n\n* `Rollerworks\\Component\\PdbSfBridge\\Bundle\\RollerworksPdbBundle`\n* `Rollerworks\\Component\\X509Validator\\Symfony\\Bundle\\RollerworksX509ValidatorBundle`\n\nAnd add the following configuration:\n\n\u003cdetails\u003e\n\n```yaml\n# config/packages/rollerworks_pdb.yaml\n\nrollerworks_pdb:\n    cache_pool: 'rollerworks.cache.public_prefix_db'\n    #manager: http # either: 'http' (default), 'static' (requires manual updates) or 'mock'\n\nframework:\n    cache:\n        pools:\n            # This name can be changed by setting `rollerworks_pdb.cache_pool` (**Don't reuse an existing cache pool!**)\n            rollerworks.cache.public_prefix_db:\n                adapter: cache.adapter.array # use a persistent adapter that can be easily invalidated like cache.adapter.memcached or cache.adapter.pdo\n                default_lifetime: 604800 # one week, the cache should be automatically refreshed, unless manager=static is used\n```\n\n\u003c/details\u003e\n\n## Requirements\n\nYou need at least PHP 8.2, internet access is required if you want to\nvalidate a certificate's OCSP status or automatically update the \nPublicSuffixList.\n\nThe public-suffix and top-level domain needs to manually updated from time\nto time. When internet access is available the PdbManager (provided by `rollerworks/pdb-symfony-bridge`) \nwill automatically download the list and store it in the cache.\n\nIf no internet access is available, the local cache needs to refreshed manually.\nSee https://github.com/rollerworks/PdbSfBridge#offline-usage for instructions.\n\n## Basic Usage\n\n* [Constraints](doc/constraints.md)\n* [Registering validators (manual integration)](doc/integration.md)\n\n## Versioning\n\nFor transparency and insight into the release cycle, and for striving to\nmaintain backward compatibility, this package is maintained under the\nSemantic Versioning guidelines as much as possible.\n\nReleases will be numbered with the following format:\n\n`\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`\n\nAnd constructed with the following guidelines:\n\n* Breaking backward compatibility bumps the major (and resets the minor and patch)\n* New additions without breaking backward compatibility bumps the minor (and resets the patch)\n* Bug fixes and misc changes bumps the patch\n\nFor more information on SemVer, please visit \u003chttp://semver.org/\u003e.\n\n## License\n\nThis library is released under the [MIT license](LICENSE).\n\n## Contributing\n\nThis is an open source project. If you'd like to contribute,\nplease read the [Contributing Guidelines][contributing]. If you're submitting\na pull request, please follow the guidelines in the [Submitting a Patch][patches] section.\n\n[composer]: https://getcomposer.org/doc/00-intro.md\n[x509-validators]: https://github.com/rollerworks/X509Validator\n[flex]: https://symfony.com/doc/current/setup/flex.html\n[contributing]: https://contributing.rollerscapes.net/\n[patches]: https://contributing.rollerscapes.net/latest/patches.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollerworks%2Fx509validator-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollerworks%2Fx509validator-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollerworks%2Fx509validator-symfony/lists"}