PHPackages                             ongoing/deployer-base - 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. ongoing/deployer-base

ActiveLibrary

ongoing/deployer-base
=====================

v1.0.3(5y ago)01.0kproprietaryPHP

Since Feb 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ongoing/deployer-base)[ Packagist](https://packagist.org/packages/ongoing/deployer-base)[ RSS](/packages/ongoing-deployer-base/feed)WikiDiscussions master Synced 1w ago

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

ongoing deployer base
=====================

[](#ongoing-deployer-base)

A base with common used tasks to use in your deployer project.

Getting started
---------------

[](#getting-started)

### Installing

[](#installing)

Install using composer

`composer require ongoing/deployer-base`

### Setup

[](#setup)

Include the `vendor/ongoing/deployer-base/symfony*.php` file in your `deployer.php` based on your symfony version.

```
symfony.php // symfony 2.x
symfony3.php // symfony 3.x
symfony4.php // symfony 4.x|5.x

```

\##Configurations ###Project specific configuration Project specific configuration should be placed in your `deploy.php` file.

Example:

```
// application name
set('application', 'application-name');
// source repository
set('repository', 'git@github.com:user/repo.git');
// console path (only if it differs from the default in your symfony version
set('console_path', 'bin/console');

// sentry organisation
set('sentry_organisation', 'oranisation-name');
// sentry project
set('sentry_project', 'sentry-project');

// config name for translation:extract command
set('translation_app_name', 'app');
// locale to extract translations in
set('translation_locale', 'en');

```

### User specific configuration

[](#user-specific-configuration)

User specific configuration should be defined in environment variables.

Example:

```
SENTRY_TOKEN=your-token
PRIVATE_KEY=~/.ssh/id_rsa

```

Tasks
-----

[](#tasks)

The deployer-base contains many tasks. Here's a basic example of a fully functional deployment configuration.

```
task('deploy', [
    'deploy:info',
    'deploy:prepare',
    'deploy:lock',
    'deploy:release',
    'deploy:update_code',
    'deploy:shared',
    'deploy:vendors',
    'deploy:build:assets', // build assets on the server
    'deploy:writable',
    'translation:extract', // extract tokens
    'deploy:cache:clear',
    'deploy:schema_update', // updates the database schema. Will show a preview and ask for confirmation.
    'deploy:cache:warmup',
    'deploy:symlink',
    'reload:php-fpm', // used on nine servers to clear the fpm cache
    'deploy:unlock',
    'deploy:tag', // tags the current release in your repository
    'deploy:sentry',
    'cleanup',
]);

```

### Additional tasks

[](#additional-tasks)

#### Build assets local

[](#build-assets-local)

You can build assets local using the `deploy:build:assets_local` command instead of `deploy:build:assets`. The assets will be built and commited to the repository.

#### Run database migrations

[](#run-database-migrations)

If you use migrations in your project you can replace `deploy:schema_update` with `database:migrate`.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 77.3% 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 ~67 days

Total

4

Last Release

2091d ago

### Community

Maintainers

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

---

Top Contributors

[![ramonrainer](https://avatars.githubusercontent.com/u/112545604?v=4)](https://github.com/ramonrainer "ramonrainer (17 commits)")[![rwch](https://avatars.githubusercontent.com/u/930393?v=4)](https://github.com/rwch "rwch (4 commits)")[![ramon25](https://avatars.githubusercontent.com/u/973380?v=4)](https://github.com/ramon25 "ramon25 (1 commits)")

### Embed Badge

![Health badge](/badges/ongoing-deployer-base/health.svg)

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

PHPackages © 2026

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