PHPackages                             taymaz/mediabackup - 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. taymaz/mediabackup

ActiveLibary

taymaz/mediabackup
==================

backup server or website media php package

1.0.1(3y ago)010MITPHP

Since Jan 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/taymazmostafaei/media-backup-php)[ Packagist](https://packagist.org/packages/taymaz/mediabackup)[ RSS](/packages/taymaz-mediabackup/feed)WikiDiscussions master Synced 1mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/387749a82b684828da462686032d878cb15da59c7eb08cf60e3b0f4deeb7d752/687474703a2f2f706f7365722e707567782e6f72672f7461796d617a2f6d656469616261636b75702f76)](https://packagist.org/packages/taymaz/mediabackup)[![Total Downloads](https://camo.githubusercontent.com/0ac170734618e9be79e82e3651267e5dbf6443b7bfd694243671bde481ff055e/687474703a2f2f706f7365722e707567782e6f72672f7461796d617a2f6d656469616261636b75702f646f776e6c6f616473)](https://packagist.org/packages/taymaz/mediabackup)[![Latest Unstable Version](https://camo.githubusercontent.com/b38c6e90d34ce6ac18f092f83279b3a27b23291923b209ea134260e9307212fd/687474703a2f2f706f7365722e707567782e6f72672f6172636170746368612f6172636170746368612d7068702f762f756e737461626c65)](https://packagist.org/packages/taymaz/mediabackup) [![License](https://camo.githubusercontent.com/804400fb0df9bc26a6bd2a8b89f147f90bbd93ad345595c60da21508c9bcb81b/687474703a2f2f706f7365722e707567782e6f72672f7461796d617a2f6d656469616261636b75702f6c6963656e7365)](https://packagist.org/packages/taymaz/mediabackup)[![PHP Version Require](https://camo.githubusercontent.com/754ec2ad0734568177f8b531982c5f61dd35da11df2735648d38e4ba4f616067/687474703a2f2f706f7365722e707567782e6f72672f7461796d617a2f6d656469616261636b75702f726571756972652f706870)](https://packagist.org/packages/taymaz/mediabackup)

[![screenshot](https://raw.githubusercontent.com/taymazmostafaei/mediaBackup/master/backup.gif)](https://raw.githubusercontent.com/taymazmostafaei/mediaBackup/master/backup.gif)

mediaBackup
===========

[](#mediabackup)

### backup php package

[](#backup-php-package)

backup server or website media php package

Install
-------

[](#install)

From your terminal:

```
composer require taymaz/mediabackup
```

This starts to install mediabackup package its working with composer so you can use it to easy.

Basic use
---------

[](#basic-use)

for starting you need to create a file named config to setup backup options like directories and backup export path and ...

### First create your config file like this

[](#first-create-your-config-file-like-this)

Set your own particular config

```
{
    "Directories": [
        "media",
        ".",
        "media/thumbnails"
    ],

    "BackupExportPath": "."
}
```

### then require package

[](#then-require-package)

require package in your php file

```
use Taymaz\Mediabackup\Mediabackup;
```

and give config file path then get your backup file path in clallback function

```
Mediabackup::configFile("./config.json")->CreateBackup(function($backup){
    echo $backup->path;
});
```

its done your backup is ready
-----------------------------

[](#its-done-your-backup-is-ready)

`$backup` methodes you can use :

```
$backup->remove(); //true

$backup->filename; //backup-2023-01-15.zip
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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 ~26 days

Total

2

Last Release

1189d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0feb6ac2b1cfb4ea324f1f958ece5b149cae79eae4bd4f4a0bd35e6106460a7?d=identicon)[taymaz](/maintainers/taymaz)

---

Top Contributors

[![taymazmostafaei](https://avatars.githubusercontent.com/u/75164763?v=4)](https://github.com/taymazmostafaei "taymazmostafaei (30 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/taymaz-mediabackup/health.svg)

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

###  Alternatives

[rodenastyle/stream-parser

PHP Multiformat Streaming Parser

443195.7k2](/packages/rodenastyle-stream-parser)

PHPackages © 2026

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