PHPackages                             whitedigital-eu/storage-item-resource - 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. whitedigital-eu/storage-item-resource

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

whitedigital-eu/storage-item-resource
=====================================

Storage Item resource

0.3.2(1y ago)1580↓100%1[1 issues](https://github.com/whitedigital-eu/storage-item-resource/issues)MITPHPPHP &gt;=8.1.0

Since Mar 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/whitedigital-eu/storage-item-resource)[ Packagist](https://packagist.org/packages/whitedigital-eu/storage-item-resource)[ RSS](/packages/whitedigital-eu-storage-item-resource/feed)WikiDiscussions main Synced 1mo ago

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

Storage item resource
=====================

[](#storage-item-resource)

### System Requirements

[](#system-requirements)

PHP 8.1+
Symfony 6.2+

### Installation

[](#installation)

The recommended way to install is via Composer:

```
composer require whitedigital-eu/storage-item-resource
```

With the help of `vich/uploader-bundle` this package enables file upload when used with api platform. After this, you need to update your database schema to use StorageItem entity.
If using migrations:

```
bin/console doctrine:migrations:diff
bin/console doctrine:migrations:migrate
```

If by schema update:

```
bin/console doctrine:schema:update --force
```

This will enable new `StorageItem` api resource with `/api/storage_items` iri. If you want different iri, see  how to override it.

**Overriding default api resource (and therefore api endpoints)**

By default, StorageItem resource is based on `StorageItemResource`
If you wish not to use this resource and not expose the api endpoints it provides, just set a custom api resource path with a configuration value. If you set it as `null`, api platform will not register api resource located within this package.

```
storage_item_resource:
    custom_api_resource_path: '%kernel.project_dir%/src/MyCustomPath'
#    custom_api_resource_path: null
```

```
use Symfony\Config\StorageItemResourceConfig;
return static function (StorageItemResourceConfig $config): void {
    $config->customApiResourcePath('%kernel.project_dir%/src/MyCustomPath')
    // or  ->customApiResourcePath(null);
};
```

After overriding default api resource, do not forget to update ClassMapperConfigurator configuration that is used for resource &lt;-&gt; entity mapping in `whitedigital-eu/entity-resource-mapper-bundle`

```
use App\ApiResource\Admin\StorageItemResource;
use WhiteDigital\StorageItem\Entity\StorageItem;
use WhiteDigital\EntityResourceMapper\Mapper\ClassMapper;
use WhiteDigital\EntityResourceMapper\Mapper\ClassMapperConfiguratorInterface;
final class ClassMapperConfigurator implements ClassMapperConfiguratorInterface
{
    public function __invoke(ClassMapper $classMapper): void
    {
        $classMapper->registerMapping(StorageItemResource::class, StorageItem::class);
    }
}
```

---

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.4% 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 ~122 days

Recently: every ~112 days

Total

6

Last Release

543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4db85e32518c5a6caa2fd625032a2b016ef42d60cf8a101c165cc5c0048b221?d=identicon)[k0d3r1s](/maintainers/k0d3r1s)

---

Top Contributors

[![k0d3r1s](https://avatars.githubusercontent.com/u/38725938?v=4)](https://github.com/k0d3r1s "k0d3r1s (27 commits)")[![iliepins-wd](https://avatars.githubusercontent.com/u/183823746?v=4)](https://github.com/iliepins-wd "iliepins-wd (3 commits)")[![acirulis](https://avatars.githubusercontent.com/u/27766961?v=4)](https://github.com/acirulis "acirulis (2 commits)")[![raraworks](https://avatars.githubusercontent.com/u/18421085?v=4)](https://github.com/raraworks "raraworks (2 commits)")

---

Tags

phpsymfonystorageSymfony Bundleapi-platform

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/whitedigital-eu-storage-item-resource/health.svg)

```
[![Health](https://phpackages.com/badges/whitedigital-eu-storage-item-resource/health.svg)](https://phpackages.com/packages/whitedigital-eu-storage-item-resource)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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