PHPackages                             oboxmedia/push-it - 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. oboxmedia/push-it

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

oboxmedia/push-it
=================

rsync abstraction for deployment

1.0.1(6y ago)1105↓75%PHP

Since May 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Oboxmedia/pushIt)[ Packagist](https://packagist.org/packages/oboxmedia/push-it)[ RSS](/packages/oboxmedia-push-it/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

pustIt
======

[](#pustit)

Rsync abastraction and deployment tool.

Alows you to define various sync operations via a config file and simplify deployment from staging to production.

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

[](#installation)

**Option 1: Install via composer**

`composer require oboxmedia/push-it`

Then you can run it from within your project `php vendor/bin/pushIt -h`

**Option 2: Standalone installation**

`git clone git@github.com:Oboxmedia/pushIt.git`

Then you can run it by invoking the script `php scripts/pushIt -h`

Quick Start
-----------

[](#quick-start)

**Step 1**Define a .pushIt.conf file in the root of your project

For example:

```
[default]
defaultTarget=app

[app]
source=/path/to/your/staging.project/
destination=/path/to/your/production.project/
excludeFile=/path/to/your/excludeFile.txt
# optionally add extra switches to rsync
extraSwitches = --inplace

```

**Step 2**Define a excludeFile.txt this will list files to ignore when synching

For example:

```
.git
README.md
wp-content/uploads/

```

**Step 3**From the root of you project run the sync scripts

`php vendor/bin/pushIt --target app`

Configuration
-------------

[](#configuration)

Wehn running the pushIt script it will look in the current folder for a `.pushIt.conf` file. If not found it will work back up the file tree and use the first `.pushIt.conf` file it finds.

Alternatively you can use the `--config` or `-c` option to specify a configuration file.

This file has two types of configuration the `[default]` options, which control some behaviours or the script, it allows to define defaults for different deploy targets.

Deploy targets define a source and destination folder to push. Each target is defined in a `[target name]` section in the config file.

### default configuration directives

[](#default-configuration-directives)

The `[default]` section enable you to define global options that are used in all targets.

**defaultTarget**: allows you to define which target is used by default (when no `--target` or `-t` option is specified.

### Deploy Target configuration directives

[](#deploy-target-configuration-directives)

**source**: source folder to sync (same as rsync source)

**destination**: destination folder to sync to (same as rsync destination)

**excludeFile**: text file that contains file patterns to ignore (same as rsync `--exclude-from`)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

2

Last Release

2549d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/792553?v=4)[Patrick Forget](/maintainers/patforg)[@patforg](https://github.com/patforg)

---

Top Contributors

[![patforg](https://avatars.githubusercontent.com/u/792553?v=4)](https://github.com/patforg "patforg (13 commits)")

### Embed Badge

![Health badge](/badges/oboxmedia-push-it/health.svg)

```
[![Health](https://phpackages.com/badges/oboxmedia-push-it/health.svg)](https://phpackages.com/packages/oboxmedia-push-it)
```

###  Alternatives

[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)[shopware/deployment-helper

Shopware deployment tools

19305.3k5](/packages/shopware-deployment-helper)[drevops/git-artifact

Package artifact from your codebase in CI and push it to a separate git repo.

2133.2k](/packages/drevops-git-artifact)

PHPackages © 2026

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