Skip to content

[12.x] Normalize file path separators for commands on Windows#56734

Merged
taylorotwell merged 3 commits into
laravel:12.xfrom
AhmedAlaa4611:path-normalization
Aug 25, 2025
Merged

[12.x] Normalize file path separators for commands on Windows#56734
taylorotwell merged 3 commits into
laravel:12.xfrom
AhmedAlaa4611:path-normalization

Conversation

@AhmedAlaa4611

Copy link
Copy Markdown
Contributor

Description

This PR adds path normalization for the following commands by replacing forward slashes with backslashes on Windows.

  • make:mail
  • make:component
  • make:notification

Why?

Currently, these commands uses mixed directory separators on Windows systems.


Continuation of: #56591

@shaedrich

Copy link
Copy Markdown
Contributor

Shouldn't we have this replacement somewhere central once instead of repeating it everywhere?

#56591 (comment)

@taylorotwell taylorotwell merged commit 0abd7ee into laravel:12.x Aug 25, 2025
62 checks passed
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.

3 participants