PHPackages                             florianv/open - 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. florianv/open

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

florianv/open
=============

Opens a file or URL in PHP

1.0.0(8y ago)22925[2 PRs](https://github.com/florianv/open/pulls)MITShell

Since Mar 23Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Open
====

[](#open)

> Opens a file or URL in PHP, in a cross-platform way. This is a PHP port of [node-open](https://github.com/pwnall/node-open).

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

[](#installation)

```
$ composer require florianv/open
```

Usage
-----

[](#usage)

### Utility

[](#utility)

Use the `open()` method to open a file or URL using the default or a specific app

```
use Open\Open;

Open::open('picture.jpg');

// It will use the default browser
Open::open('http://google.com');

// It will try to use Chrome
Open::open('http://google.com', 'chrome');
```

### Command

[](#command)

Open Google using your default browser

```
$ php bin/open http://google.com
```

Open Google using the specified browser (firefox)

```
$ php bin/open http://google.com firefox
```

License
-------

[](#license)

[MIT](https://github.com/florianv/open/blob/master/LICENSE)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

2978d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1586668?v=4)[Florian Voutzinos](/maintainers/florianv)[@florianv](https://github.com/florianv)

---

Top Contributors

[![florianv](https://avatars.githubusercontent.com/u/1586668?v=4)](https://github.com/florianv "florianv (3 commits)")

---

Tags

urlbrowserfileopen

### Embed Badge

![Health badge](/badges/florianv-open/health.svg)

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

###  Alternatives

[sonata-project/media-bundle

Symfony SonataMediaBundle

4625.5M71](/packages/sonata-project-media-bundle)[tomatophp/filament-browser

File &amp; Folders &amp; Media Browser With Code Editor

407.6k2](/packages/tomatophp-filament-browser)[playwright-php/playwright

Modern PHP library for Playwright automation: browsing, scraping, screenshots, testing, and more.

7613.0k5](/packages/playwright-php-playwright)[3x1io/filament-browser

File &amp; Folders &amp; Media Browser With Code Editor

491.3k](/packages/3x1io-filament-browser)

PHPackages © 2026

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