OptionsResolver Component

May 29, 2026 ยท View on GitHub

The OptionsResolver component is array_replace on steroids. It allows you to create an options system with required options, defaults, validation (type, value), normalization and more.

Sponsor

This package is looking for a backer.

Help Symfony by sponsoring its development!

Resources

  • Documentation
  • Contributing
  • Report issues and send Pull Requests in the main Symfony repository

Contents

  1. 1Sponsor
  2. 2Resources