PHPackages                             rseon/deployr - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. rseon/deployr

ActiveLibrary[File &amp; Storage](/categories/file-storage)

rseon/deployr
=============

Simply copy files from source to destination.

v1.2.0(6y ago)07PHP

Since Jul 25Pushed 6y agoCompare

[ Source](https://github.com/rseon/deployr)[ Packagist](https://packagist.org/packages/rseon/deployr)[ RSS](/packages/rseon-deployr/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Deployr!
========

[](#deployr)

Simply copy files from source to destination using rsync.

Simple usage
------------

[](#simple-usage)

- Create (and protect) a folder accessible from Internet (example : `_secure23x45`).
- Create a file (example : `deploy.php`) and add this content :

```
require '../vendor/autoload.php'; // If installed with composer
// require '../deployr/src/autoload.php'; // If installed without composer

$deployr = new Deployr\Application('mysupersecretkey'); // Change the key !
$deployr->setOptions([
    'allowed_ip' => ['127.0.0.1', '::1', 'MY.SUP.ER.IP'],
]);
$deployr->run();
```

- Access to `https://my-website.com/_secure23x45/deploy.php?access_key=mysupersecretkey`, review files and publish them !

At first run, the database will be created and assets copied into new folder.

You will be asked to set the settings. Be careful with folder path and excluded files. By default, the following paths are excluded :

- The path of this tool (for example `/_secure23x45`)
- `/node_modules/` and `/vendor/` (because of large amount of files.)

### Notice

[](#notice)

**Don't use this tool for first deployment !**

If you add folders or files in excluded paths, like storage path, it will not be created even thought it is necessary.

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

[](#installation)

Pre-requisite : PHP 7, rsync and correct rights on folders.

### With composer

[](#with-composer)

```
composer install rseon/deployr

```

Add this line at start of your deployer file : `require '../vendor/autoload.php';`

### Without composer

[](#without-composer)

- Download this repository as ZIP
- Upload it on your server
- Dezip file at root of your project
- Add this line at start of your deployer file : `require '../deployr/src/autoload.php';`

Methods
-------

[](#methods)

NameDescription`run()`Run the application`setOptions(array $options)`Set options to the applicationOptions
-------

[](#options)

NameDescriptionDefault`access_key_name`The name of the GET parameter`access_key``allowed_ip`Allow access for only these IP addresses`['127.0.0.1', '::1']`Diving deeper
-------------

[](#diving-deeper)

### Localization

[](#localization)

Feel free to add your translations into the `src/i18n` folder adding JSON file (named as your lang).

The format is simple : `{ "My string" : "My translated string" }`

Then add it into the file `src/i18n/available.json`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

2485d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1319497?v=4)[rseon](/maintainers/rseon)[@rseon](https://github.com/rseon)

---

Top Contributors

[![rseon](https://avatars.githubusercontent.com/u/1319497?v=4)](https://github.com/rseon "rseon (2 commits)")

### Embed Badge

![Health badge](/badges/rseon-deployr/health.svg)

```
[![Health](https://phpackages.com/badges/rseon-deployr/health.svg)](https://phpackages.com/packages/rseon-deployr)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
