PHPackages                             teertz/filepath - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. teertz/filepath

ActiveLibrary[File &amp; Storage](/categories/file-storage)

teertz/filepath
===============

Generating a path for static files

v1.0.3(9y ago)119MITPHPPHP &gt;=5.0

Since Oct 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/teertz/filepath)[ Packagist](https://packagist.org/packages/teertz/filepath)[ RSS](/packages/teertz-filepath/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Filepath Generator
==================

[](#filepath-generator)

Introduction
------------

[](#introduction)

Teertz Filepath provides a simple way to generate random paths for serving big amount of static files on the server (like user images)

The generated path is like this: `BASE_DIR.'/vrt/ssd/tgh/'`;

### Basic Usage

[](#basic-usage)

To get started with Teertz Filepath, add to your `composer.json` file as a dependency:

```
composer require teertz/filepath

```

#### Get the full path

[](#get-the-full-path)

```
