Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teodoroleckie/file-resolver
⚡ File resolver. Depth and number of characters supported.
https://github.com/teodoroleckie/file-resolver
agnostic-structure dynamic-directory-inheritance file file-resolver
Last synced: 3 days ago
JSON representation
⚡ File resolver. Depth and number of characters supported.
- Host: GitHub
- URL: https://github.com/teodoroleckie/file-resolver
- Owner: teodoroleckie
- License: mit
- Created: 2021-04-28T06:23:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-12T13:35:04.000Z (over 3 years ago)
- Last Synced: 2024-05-02T04:13:13.369Z (5 months ago)
- Topics: agnostic-structure, dynamic-directory-inheritance, file, file-resolver
- Language: PHP
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# File-resolver:
[![Latest Version on Packagist](https://img.shields.io/packagist/v/tleckie/file-resolver.svg?style=flat-square)](https://packagist.org/packages/tleckie/file-resolver)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/teodoroleckie/file-resolver/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/teodoroleckie/file-resolver/?branch=main)
[![Build Status](https://scrutinizer-ci.com/g/teodoroleckie/file-resolver/badges/build.png?b=main)](https://scrutinizer-ci.com/g/teodoroleckie/file-resolver/build-status/main)
[![Total Downloads](https://img.shields.io/packagist/dt/tleckie/file-resolver.svg?style=flat-square)](https://packagist.org/packages/tleckie/file-resolver)
[![Code Intelligence Status](https://scrutinizer-ci.com/g/teodoroleckie/file-resolver/badges/code-intelligence.svg?b=main)](https://scrutinizer-ci.com/code-intelligence)Simple file resolver.
### Installation
You can install the package via composer:
```bash
composer require tleckie/file-resolver
```### Usage
```php
fullName();
// /tmp/test/de9f2/c7fd2/5e1b3/afad3/de9f2c7fd25e1b3afad3e85a0bd17d9b100db4b3.json$resolver->fullPath();
// /tmp/test/de9f2/c7fd2/5e1b3/afad3/$resolver->file();
// de9f2c7fd25e1b3afad3e85a0bd17d9b100db4b3.json
```