
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
nanoweb-sync-php
Advanced tools
Nanoweb Sync PHP is a command-line tool for synchronizing files between a local directory and a remote PHP server. It supports different sync strategies, chunked file uploads, and secure authentication.
sync, merge, force.npm install -g nanoweb-sync-php
Upload file server/deploy.php on your server with the PHP support v7.4+.
Upload server/config.example.php as config.php in the same directory with deploy.php and generate string AUTH_KEY.
nanoweb-sync-php -host https://example.com -pass YOUR_AUTH_KEY -local ./dist -remote /deploy.php
| Option | Description | Default |
|---|---|---|
-host | Remote PHP server URL | - |
-pass | Authentication key | - |
-port | Server port | Auto |
-strategy | Sync strategy (sync, merge, force) | sync |
-local | Local directory to upload | dist |
-remote | Remote PHP script for synchronization | /deploy.php |
-recent | Cache file for faster synchronization | .nanoweb-sync.json |
-public | Public directory to merge before upload | - |
-ignore | Ignore patterns for file exclusion | - |
Alternatively, you can define settings in a .env file:
SYNC_HOST=https://example.com
SYNC_PASS=YOUR_AUTH_KEY
SYNC_LOCAL=dist
SYNC_REMOTE=/deploy.php
SYNC_STRATEGY=sync
SYNC_CACHE=.nanoweb-sync.json
SYNC_PUBLIC=public
SYNC_IGNORE=node_modules;tmp;logs
Ensure the remote server has the deploy.php script installed and configured:
AUTH_KEY in config.php for secure authentication.NANO_DIR for managing uploaded files.See CONTRIBUTING.md for details on how to contribute.
FAQs
Nanoweb sync driver for PHP protocol
We found that nanoweb-sync-php demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.