Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/diversen/mirror-path

Mirror a filesystem path with PHP
https://github.com/diversen/mirror-path

mirror-path php-filesystem php-mirror-path

Last synced: about 1 month ago
JSON representation

Mirror a filesystem path with PHP

Awesome Lists containing this project

README

        

# About

Mirror a path to another path, while keeping permissions.
Options for:

* deleteBefore (delete before mirroring)
* allowTypes (set types to be mirrored, .e.g ['php', 'md']
* disallowTypes (set types to disallow, e.g. ['exe']

# Install

composer require diversen/mirror-path

# Usage

See [example](https://github.com/diversen/mirror-path/blob/master/example.php)