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

Php Xdg Base Dir Laravel Package

dnoegel/php-xdg-base-dir

Lightweight PHP library to locate XDG Base Directory paths (config, data, cache, state, runtime) on Linux and other Unix-like systems. Provides a simple API to read environment variables and return the correct user/system directories per the XDG spec.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables consistent, standards-compliant directory handling for CLI tools and frameworks across Linux/Unix, eliminating hardcoded paths and reducing path-related bugs.
  • Strong build vs buy case: MIT-licensed, dependency-free, and proven (6k+ stars) makes it superior to in-house implementation for XDG compliance.
  • Critical for roadmap items requiring user-specific storage (config, cache, data) with cross-platform portability, especially in multi-user or server environments.
  • Use cases: CLI utilities, server-side applications, and frameworks
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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope