PHPackages                             phore/objectstore - 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. phore/objectstore

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

phore/objectstore
=================

Object store for local files, google, aws

v1.0.5(2y ago)24.6k5MITPHPPHP &gt;=7.1CI failing

Since Dec 5Pushed 1y ago2 watchersCompare

[ Source](https://github.com/phore/phore-objectstore)[ Packagist](https://packagist.org/packages/phore/objectstore)[ RSS](/packages/phore-objectstore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (8)Used By (5)

ObjectStore - Wrapper for various cloud based buckets
=====================================================

[](#objectstore---wrapper-for-various-cloud-based-buckets)

[![tests](https://github.com/phore/phore-objectstore/workflows/tests/badge.svg)](https://github.com/phore/phore-objectstore/workflows/tests/badge.svg)

Install
-------

[](#install)

```
composer requre phore/objectstore

```

Basic usage
-----------

[](#basic-usage)

```
$store = new ObjectStore(\Phore\ObjectStore\ObjectStoreDriverFactory::Build("gcs://?keyfile=/run/secrets/google-key-1"));
```

```
$store = new ObjectStore(new GoogleCloudStoreDriver(__DIR__ . "/file/to/identity.json", "bucketName"));

$store->object("object/some.json")->put("Some Data");

if ($store->has("object/some.json"))
    echo "Object existing";

echo $store->object("object/some.json")->get();
```

Driver
------

[](#driver)

The object store can be created with

```
$objectStore = ObjectStore::Connect('gcs://some-bucket?keyfile=/run/secrets/xyz');
```

Available Drivers: [Configuration options](README_CONNECT_SETTINGS.md)

driverdriver classexampleGoogle Bucket`PhoreGoogleCloudStoreDriver``gcs://?keyfile=/run/secrets/google-key-1`Google Bucket Native Driver (Requires `google/cloud-storage`)`GoogleCloudStoreDriver``gcsnd://?keyfile=/run/secrets/google-key-1`Azure Block Storage`--``azbs://?account=&keyfile=/run/secrets/az-key-1`Azure Block Storage Native Driver (Requires `microsoft/azure-storage-blob`)`AzureObjectStoreDriver``azbsnd://?account=&keyfile=/run/secrets/az-key-1`AWS S3 Block Storage Native Driver (Requires `aws/aws-sdk-php`)`S3ObjectStoreDriver``s3nd://?account=&keyfile=/run/secrets/keyfile&region=`Filesystem driver`FileSystemObjectStoreDriver``file://path/`See the [Configuration options page](README_CONNECT_SETTINGS.md) for full driver documentation

Develop
-------

[](#develop)

The google native drivers require a secret as service account. Create the secret using

```
./kickstart.sh secrets edit google_test

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% 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 ~342 days

Total

5

Last Release

840d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/878a384d056698a2400e4b7c8858db05a6caebb2c560e67151be36d46d58def0?d=identicon)[dermatthes](/maintainers/dermatthes)

---

Top Contributors

[![dermatthes](https://avatars.githubusercontent.com/u/13380559?v=4)](https://github.com/dermatthes "dermatthes (75 commits)")[![mikoma](https://avatars.githubusercontent.com/u/2332359?v=4)](https://github.com/mikoma "mikoma (13 commits)")

---

Tags

bucketcloudobjectstore

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phore-objectstore/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15161.6M2.6k](/packages/illuminate-filesystem)[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)[madnest/madzipper

Easier zip file handling for Laravel applications.

1382.3M6](/packages/madnest-madzipper)

PHPackages © 2026

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