PHPackages                             almeyda/fileversion - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. almeyda/fileversion

ActivePhp-extension[Utility &amp; Helpers](/categories/utility)

almeyda/fileversion
===================

automatically timestamp file version based on the latest modification date

019PHP

Since Dec 5Pushed 5y ago3 watchersCompare

[ Source](https://github.com/willarin/fileversion)[ Packagist](https://packagist.org/packages/almeyda/fileversion)[ RSS](/packages/almeyda-fileversion/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Automatic file version based on the timestamp
=============================================

[](#automatic-file-version-based-on-the-timestamp)

Format file path by adding datetime segment if necessary.

Append the last modified timestamp to the file name in the form of \[file\_name\]?v=\[timestamp\].

Installation
============

[](#installation)

Add the extention using composer:

"almeyda/fileversion": "\*"

Usage
=====

[](#usage)

```
