PHPackages                             backdoor/websitebackup - 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. backdoor/websitebackup

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

backdoor/websitebackup
======================

This will generate a backup of the website.

1.2(3y ago)338MITPHPPHP &gt;=5.4.0

Since Nov 18Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Riaz-Mahmud/Websitebackup)[ Packagist](https://packagist.org/packages/backdoor/websitebackup)[ RSS](/packages/backdoor-websitebackup/feed)WikiDiscussions main Synced 1mo ago

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

Website Backup
==============

[](#website-backup)

This package is used to backup any website link. It will download all the files including images, css, js, etc. and save it in a folder.

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

[](#installation)

```
composer require backdoor/websitebackup
```

Usage
-----

[](#usage)

```
use Backdoor\WebsiteBackup\WebsiteBackup;
```

```
function siteBackup(){

    $url = 'link to your website page to backup';
    $path = 'path to save backup file';
    $filePath = 'path to set as file path in backup file. This is optional. If not set, it will use the $path';

    $websiteBackup = new WebsiteBackup();
    $backup = $websiteBackup->backup($url, $path);

}
```

Return
------

[](#return)

```
array:3 [▼[
    'error' => false,
    'message' => 'Backup created successfully',
    'path' => 'your_given_path/index.html'
];
```

Example
-------

[](#example)

```
use Backdoor\WebsiteBackup\WebsiteBackup;
```

```
function siteBackup(){
    $url = 'link to your website page to backup';
    $path = 'path to save backup file';
    $filePath = 'path to set as file path in backup file. This is optional. If not set, it will use the $path';

    $websiteBackup = new WebsiteBackup();
    $backup = $websiteBackup->backup($url, $path, $filePath);

    if(!$backup['error']){
        echo $backup['path'];
    }
}
```

License
-------

[](#license)

The MIT License (MIT). Please see [License](LICENSE) for more information.

Security
--------

[](#security)

If you discover any security related issues, please email \[email protected\] instead of using the issue tracker.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

Total

3

Last Release

1235d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/855ed3add00c35b1628f6bbe104fd1eefbc225b2dc4492555e9b8d1e6b31c1fb?d=identicon)[riaz922](/maintainers/riaz922)

---

Top Contributors

[![Riaz-Mahmud](https://avatars.githubusercontent.com/u/58476836?v=4)](https://github.com/Riaz-Mahmud "Riaz-Mahmud (11 commits)")

---

Tags

backupdownload-cssdownload-imagedownload-jsdownload-websitesphpwebsite-backupwebsite-clonewebsite-codewebsite-content-downloadwebsite-file-downloadwebsite-image-downloadwebstie

### Embed Badge

![Health badge](/badges/backdoor-websitebackup/health.svg)

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

###  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.8M123](/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)
