PHPackages                             sebastian/resource-operations - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. sebastian/resource-operations

ArchivedLibrary[Testing &amp; Quality](/categories/testing)

sebastian/resource-operations
=============================

Provides a list of PHP built-in functions that operate on resources

3.0.4(2y ago)6.3k670.5M↓12.1%14[1 issues](https://github.com/sebastianbergmann/resource-operations/issues)19BSD-3-ClausePHPPHP &gt;=7.3

Since Jul 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sebastianbergmann/resource-operations)[ Packagist](https://packagist.org/packages/sebastian/resource-operations)[ Docs](https://www.github.com/sebastianbergmann/resource-operations)[ GitHub Sponsors](https://github.com/sebastianbergmann)[ RSS](/packages/sebastian-resource-operations/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (12)Used By (19)

Resource Operations
===================

[](#resource-operations)

Provides a list of PHP built-in functions that operate on resources.

Installation
------------

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require sebastian/resource-operations

```

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

```
composer require --dev sebastian/resource-operations

```

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity82

Widely adopted with strong download metrics

Community25

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 92.7% 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 ~315 days

Total

11

Last Release

795d ago

Major Versions

1.0.0 → 2.0.02018-09-27

2.0.1 → 3.0.02020-02-07

2.0.3 → 3.0.42024-03-14

PHP version history (6 changes)1.0.0PHP &gt;=5.6.0

2.0.0PHP ^7.1

3.0.0PHP ^7.3

3.0.2PHP ^7.3 || ^8.0

3.0.3PHP &gt;=7.3

2.0.2PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1089?v=4)[Sebastian Probst Eide](/maintainers/sebastian)[@sebastian](https://github.com/sebastian)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (38 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (2 commits)")[![systemsolutionweb](https://avatars.githubusercontent.com/u/88460896?v=4)](https://github.com/systemsolutionweb "systemsolutionweb (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sebastian-resource-operations/health.svg)

```
[![Health](https://phpackages.com/badges/sebastian-resource-operations/health.svg)](https://phpackages.com/packages/sebastian-resource-operations)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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