PHPackages                             bezpapirove/bezpapirove\_php\_lib - 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. bezpapirove/bezpapirove\_php\_lib

ActiveLibrary

bezpapirove/bezpapirove\_php\_lib
=================================

v2.0.2(2mo ago)0761MITPHPPHP &gt;=8.0CI passing

Since Jun 13Pushed 2mo agoCompare

[ Source](https://github.com/BezPapirove/bezpapirove_php_lib)[ Packagist](https://packagist.org/packages/bezpapirove/bezpapirove_php_lib)[ RSS](/packages/bezpapirove-bezpapirove-php-lib/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (12)Versions (12)Used By (1)

BezPapirove PHP Library
=======================

[](#bezpapirove-php-library)

### !!! Version 2.0.x is not compatible with 1.x.x !!!

[](#-version-20x-is-not-compatible-with-1xx-)

CI/CD [![build main branch](https://github.com/BezPapirove/bezpapirove_php_lib/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/BezPapirove/bezpapirove_php_lib/actions/workflows/php.yml/badge.svg?branch=main)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#cicd-)

> Common library for **BezPapirove s.r.o.** which provide classes useable in PHP projects.

> Library is fully covered by unit tests.

### Info

[](#info)

- [PHP 8.0](https://www.php.net/downloads)
- [Composer](https://getcomposer.org/download)
- [Packagist](https://packagist.org/packages/bezpapirove/bezpapirove_php_lib)

v2.x.x
======

[](#v2xx)

#### - file handler

[](#--file-handler)

resolve correct file path in storage

```
FileStorageFactory::createFromConfig(array $config)

FileStorageInterface->save(string $sourcePath, Uuid $uuid): void;
FileStorageInterface->read(Uuid $uuid): string;
FileStorageInterface->delete(Uuid $uuid): void;
FileStorageInterface->exists(Uuid $uuid): bool;
FileStorageInterface->duplicate(Uuid $source, Uuid $target): void;
FileStorageInterface->getFileSize(Uuid $uuid): int;
```

v1.x.x
======

[](#v1xx)

### List of some important functions

[](#list-of-some-important-functions)

#### - file handler

[](#--file-handler-1)

resolve correct file path in storage

```
FolderStructure::getFolderStructureFromFileName(Uuid $fileName, int $levels = 3) : array
FolderStructure::pathExists(string $basePath, array $pathList) : bool
FolderStructure::createFolderStructure(string $basePath, array $pathList) : bool
```

#### - handling file in data storage

[](#--handling-file-in-data-storage)

```
use \Bezpapirove\BezpapirovePhpLib\File\FileHandler;

$handler = new FileHandler(string $basePath);

$handler->saveFile(string $filePath) : Uuid
$handler->readFile(Uuid $fileName) : string
$handler->fileExists(Uuid $fileName) : bool
```

#### - generate file UUID name

[](#--generate-file-uuid-name)

#### - db connector

[](#--db-connector)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance83

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~75 days

Recently: every ~100 days

Total

9

Last Release

88d ago

Major Versions

v1.0.5 → v2.0.02026-02-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/1125be2cf3d652ac684fc5724625664d549f13b5c9940eaa37193523c3af0d90?d=identicon)[tomasotruba](/maintainers/tomasotruba)

![](https://www.gravatar.com/avatar/032e0c8671c28f40566da4b5836412fe4afb87283bafc38a54fba7e45e7d736e?d=identicon)[martinkolacek](/maintainers/martinkolacek)

---

Top Contributors

[![tomasotruba](https://avatars.githubusercontent.com/u/105849582?v=4)](https://github.com/tomasotruba "tomasotruba (17 commits)")[![martinkolacek](https://avatars.githubusercontent.com/u/169657797?v=4)](https://github.com/martinkolacek "martinkolacek (16 commits)")[![101edutech-prog](https://avatars.githubusercontent.com/u/249804894?v=4)](https://github.com/101edutech-prog "101edutech-prog (11 commits)")[![frunolu](https://avatars.githubusercontent.com/u/93604485?v=4)](https://github.com/frunolu "frunolu (5 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bezpapirove-bezpapirove-php-lib/health.svg)

```
[![Health](https://phpackages.com/badges/bezpapirove-bezpapirove-php-lib/health.svg)](https://phpackages.com/packages/bezpapirove-bezpapirove-php-lib)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M650](/packages/sylius-sylius)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k511.3M2.2k](/packages/aws-aws-sdk-php)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)

PHPackages © 2026

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