Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Path Laravel Package

internal/path

Type-safe, immutable PHP path value object. Normalizes paths, handles separators cross-platform, and supports joining segments, inspecting components (name/stem/ext/parent), absolute/relative conversion, and filesystem checks (exists, file/dir, writable).

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables build vs buy decisions by providing a battle-tested, type-safe path handling solution, eliminating the need for custom implementations that often miss edge cases (e.g., Windows backslashes, hidden files, multiple extensions).
  • Reduces technical debt in file system operations (e.g., uploads, config management, logging) by handling cross-platform normalization, safety checks, and immutable path objects out-of-the-box.
  • Supports roadmap priorities for secure, reliable file operations—critical for applications where path traversal vulnerabilities or OS inconsistencies could cause data corruption or security flaws.
  • Ideal for use cases requiring pattern matching (e.g., file discovery), absolute path validation, or complex path composition where PHP’s native functions fall short.

When to Consider This Package

  • Adopt when your project requires robust, type-safe path manipulation with cross-platform support
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log