{"id":20642089,"url":"https://github.com/riaz-mahmud/websitebackup","last_synced_at":"2025-07-02T07:03:45.473Z","repository":{"id":62799375,"uuid":"562581070","full_name":"Riaz-Mahmud/Websitebackup","owner":"Riaz-Mahmud","description":"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.","archived":false,"fork":false,"pushed_at":"2025-02-19T01:00:12.000Z","size":20,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-02T07:03:42.328Z","etag":null,"topics":["backup","download-css","download-image","download-js","download-websites","php","website-backup","website-clone","website-code","website-content-download","website-file-download","website-image-download","webstie"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/backdoor/websitebackup","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Riaz-Mahmud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-11-06T19:29:03.000Z","updated_at":"2025-02-19T01:00:16.000Z","dependencies_parsed_at":"2025-04-16T01:41:23.573Z","dependency_job_id":"664a30ff-5436-467e-ab1e-805d2a11aecd","html_url":"https://github.com/Riaz-Mahmud/Websitebackup","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Riaz-Mahmud/Websitebackup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riaz-Mahmud%2FWebsitebackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riaz-Mahmud%2FWebsitebackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riaz-Mahmud%2FWebsitebackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riaz-Mahmud%2FWebsitebackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Riaz-Mahmud","download_url":"https://codeload.github.com/Riaz-Mahmud/Websitebackup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Riaz-Mahmud%2FWebsitebackup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263091028,"owners_count":23412343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","download-css","download-image","download-js","download-websites","php","website-backup","website-clone","website-code","website-content-download","website-file-download","website-image-download","webstie"],"created_at":"2024-11-16T16:08:03.768Z","updated_at":"2025-07-02T07:03:45.399Z","avatar_url":"https://github.com/Riaz-Mahmud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Website Backup\n\nThis 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.\n\n## Installation\n\n```bash\n\ncomposer require backdoor/websitebackup\n\n```\n\n## Usage\n\n```php\n\nuse Backdoor\\WebsiteBackup\\WebsiteBackup;\n\n```\n```php\nfunction siteBackup(){\n\n    $url = 'link to your website page to backup';\n    $path = 'path to save backup file';\n    $filePath = 'path to set as file path in backup file. This is optional. If not set, it will use the $path';\n\n    $websiteBackup = new WebsiteBackup();\n    $backup = $websiteBackup-\u003ebackup($url, $path);\n\n}\n\n```\n\n## Return\n\n```php\n\narray:3 [▼[\n    'error' =\u003e false,\n    'message' =\u003e 'Backup created successfully',\n    'path' =\u003e 'your_given_path/index.html'\n];\n\n```\n\n## Example\n\n```php\n\nuse Backdoor\\WebsiteBackup\\WebsiteBackup;\n\n```\n```php\n\nfunction siteBackup(){\n    $url = 'link to your website page to backup';\n    $path = 'path to save backup file';\n    $filePath = 'path to set as file path in backup file. This is optional. If not set, it will use the $path';\n\n    $websiteBackup = new WebsiteBackup();\n    $backup = $websiteBackup-\u003ebackup($url, $path, $filePath);\n\n    if(!$backup['error']){\n        echo $backup['path'];\n    }\n}\n\n```\n\n## License\n\nThe MIT License (MIT). Please see [License](LICENSE) for more information.\n\n\n## Security\n\nIf you discover any security related issues, please email [email protected] instead of using the issue tracker.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friaz-mahmud%2Fwebsitebackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friaz-mahmud%2Fwebsitebackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friaz-mahmud%2Fwebsitebackup/lists"}