PHPackages                             nsrosenqvist/phulp-rename - 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. nsrosenqvist/phulp-rename

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nsrosenqvist/phulp-rename
=========================

The rename addon for phulp

1.0.0(7y ago)118MITPHPPHP &gt;=5.6

Since Sep 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nsrosenqvist/phulp-rename)[ Packagist](https://packagist.org/packages/nsrosenqvist/phulp-rename)[ RSS](/packages/nsrosenqvist-phulp-rename/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Phulp Rename
============

[](#phulp-rename)

It's a third-party project that lets you rename files.

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

[](#installation)

```
composer require nsrosenqvist/phulp-rename
```

Usage
-----

[](#usage)

You can either set the rules by an associative array. This isn't very flexible since the same rules would apply to all files and you might want to process their current filename in order to figure out the new name, so you can also pass a function and return the rule for each file.

```
