PHPackages                             vollbehr/php-reader-laravel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vollbehr/php-reader-laravel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vollbehr/php-reader-laravel
===========================

Laravel integration bridge for vollbehr/php-reader.

v2.0-rc1(7mo ago)00BSD-3-ClausePHPPHP ^8.2

Since Sep 19Pushed 7mo agoCompare

[ Source](https://github.com/vollbehr/php-reader-laravel)[ Packagist](https://packagist.org/packages/vollbehr/php-reader-laravel)[ Docs](https://github.com/vollbehr/php-reader)[ RSS](/packages/vollbehr-php-reader-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

PHP Reader Laravel Bridge
=========================

[](#php-reader-laravel-bridge)

A Laravel-oriented service provider that exposes the `vollbehr/php-reader` factory through the framework container and supports configuration publishing and optional facade aliases.

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

[](#installation)

```
composer require vollbehr/php-reader-laravel
```

The provider is auto-discovered. To customise the default file mode, publish the configuration:

```
php artisan vendor:publish --tag=php-reader-config
```

Edit the generated `config/php-reader.php` to override the `default_file_mode` value.

Usage
-----

[](#usage)

Resolve the shared factory straight from the container. The example below matches the framework integration test and is easy to translate into a real application service:

```
use Illuminate\Config\Repository;
use Illuminate\Container\Container;
use Vollbehr\Bridge\Laravel\PhpReaderServiceProvider;
use Vollbehr\Support\FileReaderFactory;

final class StubApplication extends Container
{
    public function configPath(string $path = ''): string
    {
        return sys_get_temp_dir() . DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR);
    }
}

$app = new StubApplication();
$app->instance('config', new Repository([
    'php-reader' => [
        'default_file_mode' => 'rb',
    ],
]));

$provider = new PhpReaderServiceProvider($app);
$provider->register();
$provider->boot();

/** @var FileReaderFactory $factory */
$factory = $app->make(FileReaderFactory::class);
$reader  = $factory->open('/path/to/audio.mp3');
```

Versioning
----------

[](#versioning)

Keep bridge releases aligned with the core package's major and minor versions to avoid dependency drift for downstream applications.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance67

Regular maintenance activity

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

232d ago

### Community

Maintainers

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

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![svollbehr](https://avatars.githubusercontent.com/u/16279598?v=4)](https://github.com/svollbehr "svollbehr (1 commits)")

---

Tags

laravelmetadataid3php-reader

### Embed Badge

![Health badge](/badges/vollbehr-php-reader-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/vollbehr-php-reader-laravel/health.svg)](https://phpackages.com/packages/vollbehr-php-reader-laravel)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M682](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

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