Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/diversen/mirror-path
- Owner: diversen
- Created: 2016-07-23T13:06:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T10:42:50.000Z (almost 8 years ago)
- Last Synced: 2024-11-29T11:02:20.839Z (about 2 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)