{"id":19847569,"url":"https://github.com/bringyourownideas/laravel-backblaze","last_synced_at":"2025-05-01T21:32:45.606Z","repository":{"id":56647058,"uuid":"163572459","full_name":"bringyourownideas/laravel-backblaze","owner":"bringyourownideas","description":"B2-Backblaze adapter for Laravel 5.","archived":false,"fork":false,"pushed_at":"2021-05-09T10:59:56.000Z","size":12,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-27T21:07:48.349Z","etag":null,"topics":["b2-backblaze-adapter","backblaze","backblaze-adapter","backblaze-b2","backup","laravel","laravel-5-package"],"latest_commit_sha":null,"homepage":"https://bringyourownideas.com/blog/backing-up-your-laravel-project-to-backblaze-b2/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bringyourownideas.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"spekulatius","custom":"https://www.buymeacoffee.com/spekulatius"}},"created_at":"2018-12-30T08:16:57.000Z","updated_at":"2024-05-17T16:48:23.000Z","dependencies_parsed_at":"2022-08-15T22:31:36.804Z","dependency_job_id":null,"html_url":"https://github.com/bringyourownideas/laravel-backblaze","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringyourownideas%2Flaravel-backblaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringyourownideas%2Flaravel-backblaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringyourownideas%2Flaravel-backblaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringyourownideas%2Flaravel-backblaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bringyourownideas","download_url":"https://codeload.github.com/bringyourownideas/laravel-backblaze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224278360,"owners_count":17285080,"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":["b2-backblaze-adapter","backblaze","backblaze-adapter","backblaze-b2","backup","laravel","laravel-5-package"],"created_at":"2024-11-12T13:14:33.821Z","updated_at":"2024-11-12T13:14:34.514Z","avatar_url":"https://github.com/bringyourownideas.png","language":"PHP","funding_links":["https://github.com/sponsors/spekulatius","https://www.buymeacoffee.com/spekulatius"],"categories":[],"sub_categories":[],"readme":"# B2-Backblaze Storage Adapter for Laravel 5+\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/bringyourownideas/laravel-backblaze.svg?style=flat-square)](https://packagist.org/packages/bringyourownideas/laravel-backblaze)\n[![Total Downloads](https://img.shields.io/packagist/dt/bringyourownideas/laravel-backblaze.svg?style=flat-square)](https://packagist.org/packages/bringyourownideas/laravel-backblaze)\n\nBackblaze B2 is a cloud storage system comparable to Amazons S3. This adapter allows you to use B2 within Laravel 5+ applications. Tested are Laravel 5, 6, 7, and 8.\n\nAt [bring your own ideas Ltd.](https://github.com/bringyourownideas) it is used in combination with [spatie's Laravel backup](https://github.com/spatie/laravel-backup) to backup our Laravel projects.\n\nThe code is based on [Paul Olthof](https://github.com/hpolthof)s [unmaintained repo](https://github.com/hpolthof/laravel-backblaze) and addresses mostly bugs at this point.\n\n\n## Use B2 via S3 instead!\n\nAs B2 has an S3-compatible interface it's recommended to use this instead. See https://github.com/bringyourownideas/laravel-backblaze/issues/6#issuecomment-769718518 for more details. It's unlikely this package will be maintained further and migrating is recommended.\n\n\n## Step by Step Guide\n\nOn our company website we have released a detailed step by step guide to [back up your Laravel projects to Backblaze](https://bringyourownideas.com/blog/backing-up-your-laravel-project-to-backblaze-b2/). Feel free to reach out if you find any mistakes or have trouble implementing the steps.\n\n\n## Installation\n\nVia Composer\n```\ncomposer require bringyourownideas/laravel-backblaze\n```\n\nIn your app.php config file add to the list of service providers:\n```\n\\bringyourownideas\\Backblaze\\BackblazeServiceProvider::class,\n```\n\nAdd the following to your filesystems.php config file in the ```disks``` section:\n```\n'b2' =\u003e [\n    'driver'         =\u003e 'b2',\n    'accountId'      =\u003e '',\n    'applicationKey' =\u003e '',\n    'bucketName'     =\u003e '',\n],\n```\n\nNow just paste in your credentials and bucketname and you're ready to go!\n\n\n## Usage\n\nJust use it as you normally would use the Storage facade.\n```\n\\Storage::disk('b2')-\u003eput('test.txt', 'test')\n```\nand\n```\n\\Storage::disk('b2')-\u003eget('test.txt')\n```\n\n## Credits\n\n* [Paul Olthof](https://github.com/hpolthof)\n* [Ramesh Mhetre](https://github.com/mhetreramesh/flysystem-backblaze)\n* [Chris White](https://github.com/cwhite92/b2-sdk-php)\n\n\n## License\n\nMIT, as the original repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringyourownideas%2Flaravel-backblaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbringyourownideas%2Flaravel-backblaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringyourownideas%2Flaravel-backblaze/lists"}