Skip to content

[13.x] Document min_ratio, max_ratio, and ratioBetween dimension constraints - #11174

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
mahfuz-rahman007:doc/dimensions-min-max-ratio
Apr 27, 2026
Merged

taylorotwell merged 1 commit into
laravel:13.xfrom
mahfuz-rahman007:doc/dimensions-min-max-ratio

Conversation

@mahfuz-rahman007

Copy link
Copy Markdown
Contributor

Summary

The dimensions validation rule supports min_ratio and max_ratio constraints, as well as fluent minRatio, maxRatio, and ratioBetween methods on Rule::dimensions(), but these were not listed in the documentation.

Changes

  • Added min_ratio and max_ratio to the available constraints list
  • Added a usage example for the string-based min_ratio/max_ratio syntax
  • Added a usage example for the fluent ratioBetween method

…traints

The dimensions validation rule supports min_ratio and max_ratio
constraints as well as minRatio, maxRatio, and ratioBetween fluent
methods, but these were missing from the documentation.
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.

2 participants