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: 3 months ago
JSON representation
Mirror a filesystem path with PHP
- Host: GitHub
- URL: https://github.com/diversen/mirror-path
- Owner: diversen
- Created: 2016-07-23T13:06:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T10:42:50.000Z (over 8 years ago)
- Last Synced: 2025-02-07T22:28:15.523Z (5 months ago)
- Topics: mirror-path, php-filesystem, php-mirror-path
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)