{"id":87218,"library":"webmozart-path-util","title":"Webmozart Path Utility","description":"A robust cross-platform utility for normalizing, comparing and modifying file paths.","status":"active","version":"2.3.0","language":"php","source_language":null,"source_url":"https://github.com/webmozart/path-util","tags":["filesystem","path","utility","cross-platform"],"install":[{"cmd":"composer require webmozart/path-util","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Path","correct":"use Webmozart\\PathUtil\\Path;"}],"quickstart":{"code":"use Webmozart\\PathUtil\\Path;\n\necho Path::canonicalize('/var/www/../www//app'); // /var/www/app","lang":"php","description":"Normalize a file path"},"warnings":[{"fix":"Migrate to Symfony Filesystem component","message":"Deprecated in favor of symfony/filesystem","severity":"breaking","affected_versions":">=2.3.0"}],"env_vars":null,"search_vec":"'compar':12 'cross':7,21 'cross-platform':6,20 'file':15 'filesystem':17 'modifi':14 'normal':11 'path':2,16,18 'platform':8,22 'robust':5 'util':3,9,19 'webmozart':1","created_at":"2026-06-19T08:15:13.081172+00:00","updated_at":"2026-06-19T08:15:13.081172+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/webmozart/path-util","github":"https://github.com/webmozart/path-util","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}