Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```