PHPackages                             techkat/backblaze-b2-php-sdk - 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. techkat/backblaze-b2-php-sdk

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

techkat/backblaze-b2-php-sdk
============================

A PHP SDK to utilize the Backblaze B2 API in a PHP-based application.

0.7.1(2y ago)128MITPHP &gt;=7.0.0

Since Jan 1Compare

[ Source](https://github.com/TechKat/backblaze-b2-php-sdk)[ Packagist](https://packagist.org/packages/techkat/backblaze-b2-php-sdk)[ RSS](/packages/techkat-backblaze-b2-php-sdk/feed)WikiDiscussions Synced today

READMEChangelog (9)Dependencies (5)Versions (11)Used By (0)

Backblaze B2 SDK for PHP
========================

[](#backblaze-b2-sdk-for-php)

Backblaze B2 is a super low-cost hot cloud storage solution with the lowest price-per-GB on the market (to date of this README's last change). This SDK is a library for PHP developers to setup a quick and easy link between their applications and BackBlaze B2 API with all the hard coding done for them.

This SDK is one of many PHP packages, all with the same purpose of providing easy to use access to the BackBlaze B2 API, and adds to a variety of options to the pool to choose from.

By default, the package will use the `v2` version of the BackBlaze B2 API, but `v1` can be specified as demonstrated in an example below.

---

Quickstart
==========

[](#quickstart)

You will first need to generate an application key on the BackBlaze website by [logging in](https://secure.backblaze.com/user_signin.htm) and navigating to Account &gt; Application Keys. Click on the "Add a New Application Key" button and fill in the form as required for your application. Make a note of the Key ID and Application Key.

**It is not recommended to use the master key ID or master Application Key.**

```
