Download the PHP package componenta/path-resolver without Composer
On this page you can find all versions of the php package componenta/path-resolver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download componenta/path-resolver
More information about componenta/path-resolver
Files in componenta/path-resolver
Download componenta/path-resolver
More information about componenta/path-resolver
Files in componenta/path-resolver
Vendor componenta
Package path-resolver
Short Description Project filesystem path resolver for Componenta applications
License MIT
Package path-resolver
Short Description Project filesystem path resolver for Componenta applications
License MIT
Please rate this library. Is it a good library?
Informations about the package path-resolver
Componenta Path Resolver
Project-root path resolver.
Use this package for resolving project files relative to a known base directory.
Installation
Related Packages
| Package | Why it matters here |
|---|---|
componenta/app |
Creates PathResolver in entry points and passes it into bootstrapping. |
componenta/di |
Can inject PathResolverInterface into services that calculate project paths. |
Path Resolver
PathResolverInterface exposes an immutable baseDir property and a single resolve() method.
Resolution Rules
- Relative paths are resolved against
baseDir. - Absolute paths are normalized and returned as absolute paths.
- The resolver does not check that a file exists.
- The resolver does not create directories.
This keeps the package usable in entry points, config files, cache builders, and libraries that only need deterministic path calculation.
All versions of path-resolver with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.4
The package componenta/path-resolver contains the following files
Loading the files please wait ...