PHPackages                             minetro/deployer-extension - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. minetro/deployer-extension

Abandoned → [contributte/deployer-extension](/?search=contributte%2Fdeployer-extension)ArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

minetro/deployer-extension
==========================

Ftp-Deployment Extension for Nette

v3.2.1(5y ago)1132.2k6MITPHPPHP &gt;=7.2

Since May 26Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/contributte/ftpdeployer)[ Packagist](https://packagist.org/packages/minetro/deployer-extension)[ Docs](https://github.com/contributte/deployer-extension)[ RSS](/packages/minetro-deployer-extension/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (9)Versions (11)Used By (0)

[![](https://camo.githubusercontent.com/18e63494bf4c604f7275736394ea71212c510e2e775b736e5775fca1a27ce4ad/68747470733a2f2f686561746261646765722e76657263656c2e6170702f6769746875622f726561646d652f636f6e74726962757474652f6674706465706c6f7965722f3f646570726563617465643d31)](https://camo.githubusercontent.com/18e63494bf4c604f7275736394ea71212c510e2e775b736e5775fca1a27ce4ad/68747470733a2f2f686561746261646765722e76657263656c2e6170702f6769746875622f726561646d652f636f6e74726962757474652f6674706465706c6f7965722f3f646570726563617465643d31)

 [![](https://camo.githubusercontent.com/a8b1cd856d7d396fdebbe46947cc3507490acc267a02361e5e53bb7b820c95c3/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f6769747465722f6379616e)](https://bit.ly/ctteg) [![](https://camo.githubusercontent.com/86d6416fc04f8bcc3daa7bf881526b9953b9726b1164d05c157c8713e3a73418/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f666f72756d2f79656c6c6f77)](https://bit.ly/cttfo) [![](https://camo.githubusercontent.com/5d170ab94e6d594609561e16fe0f9e4293968fbd4dfcfafc5e11efc1415ef09c/68747470733a2f2f62616467656e2e6e65742f62616467652f73706f6e736f722f646f6e6174696f6e732f463936383534)](https://contributte.org/partners.html)

 Website 🚀 [contributte.org](https://contributte.org) | Contact 👨🏻‍💻 [f3l1x.io](https://f3l1x.io) | Twitter 🐦 [@contributte](https://twitter.com/contributte)

Disclaimer
----------

[](#disclaimer)

⚠️This project is no longer being maintained.Composer[`contributte/deployer-extension`](https://packagist.org/packages/contributte/deployer-extension)Version[![](https://camo.githubusercontent.com/583ce55572da8a82d5e87d0cd0980b93a5cf4d5d0207360fc2f8c05f4b302ab3/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f636f6e74726962757474652f6465706c6f7965722d657874656e73696f6e)](https://camo.githubusercontent.com/583ce55572da8a82d5e87d0cd0980b93a5cf4d5d0207360fc2f8c05f4b302ab3/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f636f6e74726962757474652f6465706c6f7965722d657874656e73696f6e)PHP[![](https://camo.githubusercontent.com/276d0b27b5e9b08016c9455c76ff864e5b90c10cb6ce2435c0c55e76ffc024c4/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f636f6e74726962757474652f6465706c6f7965722d657874656e73696f6e)](https://camo.githubusercontent.com/276d0b27b5e9b08016c9455c76ff864e5b90c10cb6ce2435c0c55e76ffc024c4/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f636f6e74726962757474652f6465706c6f7965722d657874656e73696f6e)License[![](https://camo.githubusercontent.com/a6f3c488ed6dc16c8bf91413c876773b67d047a54dcbc1e167d0cd126e62cb49/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f636f6e74726962757474652f6674706465706c6f796572)](https://camo.githubusercontent.com/a6f3c488ed6dc16c8bf91413c876773b67d047a54dcbc1e167d0cd126e62cb49/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f636f6e74726962757474652f6674706465706c6f796572)Usage
-----

[](#usage)

FTP deployment extension for [Nette Framework](https://nette.org). This extension integrates [dg/ftp-deployment](https://github.com/dg/ftp-deployment) into Nette applications, providing easy configuration and deployment capabilities via FTP/FTPS protocols.

### Installation

[](#installation)

To install this package, use [Composer](https://getcomposer.org):

```
composer require contributte/deployer-extension
```

### Quick Start

[](#quick-start)

#### 1. Register the extension

[](#1-register-the-extension)

Add the extension to your Nette configuration:

```
extensions:
	deployer: Contributte\Deployer\DI\DeployerExtension
```

#### 2. Configure deployment

[](#2-configure-deployment)

Basic configuration example:

```
parameters:
	deploy:
		protocol: ftp # ftp|ftps
		user: user1
		password: mysecretpwd
		scheme: example.com # example.com/www

deployer:
	config:
		mode: run
		logFile: %appDir%/log/deployer.log
		tempDir: %appDir%/temp
		colors: off

	sections:
		web1:
			remote: %deploy.protocol%://%deploy.user%:%deploy.password%@%deploy.scheme%
			local: %wwwDir%
			testMode: false
			allowdelete: on
			passiveMode: on

			ignore:
				- .git*
				- .idea*
				- composer.*
				- /app/config/config.local.neon
				- /log/*
				- "!/log/.htaccess"
				- /temp/*
				- "!/temp/.htaccess"
```

#### 3. Deploy your application

[](#3-deploy-your-application)

**Automatic deployment:**

```
# Create Deploy Manager
$dm = $container->getByType('Contributte\Deployer\Manager');
$dm->deploy();
```

**Manual deployment:**

```
# Create config
$config = new Config();
$config->setLogFile(..);
$config->setMode(..);

$section = new Section();
$section->setName(..);
$config->addSection($section);

# Deploy
$dm = $container->getByType('Contributte\Deployer\Manager');
$dm->manualDeploy($config);
```

### Features

[](#features)

#### Multiple deployment sections

[](#multiple-deployment-sections)

Deploy to multiple servers/environments:

```
deployer:
	sections:
		example.com:
			remote: ftp://user:pass@example.com
			local: %wwwDir%
		test.cz:
			remote: ftp://user:pass@test.cz
			local: %wwwDir%
```

#### Listeners

[](#listeners)

Register custom listeners for pre/post deployment actions:

- **BeforeListener** - Runs before deployment
- **AfterListener** - Runs after deployment

```
deployer:
	sections:
		web1:
			before:
				- [@\TestBeforeListener, onBefore]
			after:
				- [@\TestAfterListener, onAfter]
```

#### Built-in Plugins

[](#built-in-plugins)

**MaintenanceListener** - Automatically manage maintenance mode during deployment:

```
deployer:
	plugins:
		maintenance:
			rewrite:
				- [www/index.php, www/index.maintenance]
			rename:
				- [www/.maintenance.php, www/maintenance.php]
```

**ComposerInstallListener** - Runs `composer install --no-dev --prefer-dist --optimize-autoloader` before deployment.

**ComposerUpdateListener** - Runs `composer update --no-dev --prefer-dist --optimize-autoloader` before deployment.

#### File Purging

[](#file-purging)

Clean specific directories during deployment:

```
deployer:
	sections:
		web1:
			purge:
				- temp/cache
				- temp/myfolder
```

Versions
--------

[](#versions)

StateVersionBranchNettePHPstable^3.2.1master3.0+&gt;=7.2Development
-----------

[](#development)

This package was maintained by these authors.

[ ![](https://avatars2.githubusercontent.com/u/538058?v=3&s=80)](https://github.com/f3l1x)---

Consider to [support](https://contributte.org/partners.html) **contributte** development team. Also thank you for using this package.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance46

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 85.2% 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 ~258 days

Recently: every ~227 days

Total

9

Last Release

1990d ago

Major Versions

v1.2.0 → 2.0.02016-08-05

2.0.0 → v3.0.02018-07-23

PHP version history (4 changes)1.0.0PHP &gt;=5.4

2.0.0PHP &gt;=5.5

v3.0.0PHP &gt;=7.1

v3.1.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

---

Top Contributors

[![f3l1x](https://avatars.githubusercontent.com/u/538058?v=4)](https://github.com/f3l1x "f3l1x (69 commits)")[![mabar](https://avatars.githubusercontent.com/u/20974277?v=4)](https://github.com/mabar "mabar (4 commits)")[![petrparolek](https://avatars.githubusercontent.com/u/6066243?v=4)](https://github.com/petrparolek "petrparolek (3 commits)")[![vagovszky](https://avatars.githubusercontent.com/u/2395398?v=4)](https://github.com/vagovszky "vagovszky (1 commits)")[![DepkaCZ](https://avatars.githubusercontent.com/u/4254146?v=4)](https://github.com/DepkaCZ "DepkaCZ (1 commits)")[![vody105](https://avatars.githubusercontent.com/u/22433893?v=4)](https://github.com/vody105 "vody105 (1 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")[![radmax](https://avatars.githubusercontent.com/u/1110762?v=4)](https://github.com/radmax "radmax (1 commits)")

---

Tags

contributtedeploydeploymentftp-deploymentnettephp

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/minetro-deployer-extension/health.svg)

```
[![Health](https://phpackages.com/badges/minetro-deployer-extension/health.svg)](https://phpackages.com/packages/minetro-deployer-extension)
```

###  Alternatives

[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68637.6M653](/packages/nette-bootstrap)[brandembassy/slim-nette-extension

19201.2k](/packages/brandembassy-slim-nette-extension)

PHPackages © 2026

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