Weave Code
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation