PHPackages                             cstuder/temporal-shelf - 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. cstuder/temporal-shelf

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

cstuder/temporal-shelf
======================

Shelve files in directory structure according to years/months/days

v0.1.1(1y ago)07[2 issues](https://github.com/cstuder/temporal-shelf/issues)MITPHP

Since Nov 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/cstuder/temporal-shelf)[ Packagist](https://packagist.org/packages/cstuder/temporal-shelf)[ RSS](/packages/cstuder-temporal-shelf/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

temporal-shelf
==============

[](#temporal-shelf)

[![PHPUnit tests](https://github.com/cstuder/temporal-shelf/workflows/PHPUnit%20tests/badge.svg)](https://github.com/cstuder/temporal-shelf/actions?query=workflow%3A%22PHPUnit+tests%22)

PHP package to shelve files in directory structures according to years/months/days.

I.e. takes a file `data.txt` and copies it to `..../archive/2020/11/09/1604953664_data.txt`.

Created for usage on [api.existenz.ch](https://api.existenz.ch) and indirectly on [Aare.guru](https://aare.guru). As of 2020 in productive use.

Installation
------------

[](#installation)

`composer require cstuder/temporal-shelf`

Example usage
-------------

[](#example-usage)

```
