PHPackages                             cybercog/laravel-whoops-editor - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. cybercog/laravel-whoops-editor

AbandonedArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

cybercog/laravel-whoops-editor
==============================

Laravel Whoops Editor helps to open your code editor from exception stack trace.

3.0.0(8y ago)8617.3k5MITPHPPHP ^7.0

Since Dec 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cybercog/laravel-whoops-editor)[ Packagist](https://packagist.org/packages/cybercog/laravel-whoops-editor)[ Docs](https://github.com/cybercog/laravel-whoops-editor)[ RSS](/packages/cybercog-laravel-whoops-editor/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Laravel Whoops Editor
=====================

[](#laravel-whoops-editor)

[![cog-laravel-whoops-editor](https://user-images.githubusercontent.com/1849174/34025716-77df6958-e162-11e7-858a-f2196f4e2372.png)](https://user-images.githubusercontent.com/1849174/34025716-77df6958-e162-11e7-858a-f2196f4e2372.png)

[![Build Status](https://camo.githubusercontent.com/aa64e6fb11ca31ba900b16dfc1c70fcacab05fc362a8eb6821544de739363b27/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6379626572636f672f6c61726176656c2d77686f6f70732d656469746f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/cybercog/laravel-whoops-editor)[![StyleCI](https://camo.githubusercontent.com/95d03cbfdeecdb0f3c33b8fc3bfdfb7158e5bdfc5dd618e39646e0f2c5719a73/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131343331373433342f736869656c64)](https://styleci.io/repos/114317434)[![Releases](https://camo.githubusercontent.com/3687b7097cc04e5ee127e6b351733477f6c59797f1edf9f87eb7cb16e41b0fec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6379626572636f672f6c61726176656c2d77686f6f70732d656469746f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/cybercog/laravel-whoops-editor/releases)[![License](https://camo.githubusercontent.com/004bfe7a853da6e2ec1f0803b61d1ffe1a80cf11cef13460c0cf0cc9a6ac142c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6379626572636f672f6c61726176656c2d77686f6f70732d656469746f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/cybercog/laravel-whoops-editor/blob/master/LICENSE)

Introduction
------------

[](#introduction)

Laravel Whoops Editor helps to open your code editor from exception stack trace. Go to code editor in a blink of an eye!

This feature was introduced in Laravel 5.5.25, but unfortunately has issues on Linux machines. Laravel Whoops Editor fixes PHPStorm, IDEA and SublimeText Linux support.

Additionally allows you to open editor when using Homestead.

For Atom support you can use [Mike Bronner's](https://github.com/mikebronner) [laravel-whoops-atom](https://github.com/GeneaLabs/laravel-whoops-atom) package or publish config and specify launch path in editors config section.

Contents
--------

[](#contents)

- [Features](#features)
- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
    - [Protocol Handlers](#protocol-handlers)
- [Change log](#change-log)
- [Contributing](#contributing)
- [Testing](#testing)
- [Security](#security)
- [Contributors](#contributors)
- [Alternatives](#alternatives)
- [License](#license)
- [About CyberCog](#about-cybercog)

Features
--------

[](#features)

- PHPStorm cross-platform support.
- IDEA cross-platform support.
- Sublime cross-platform support.
- Allow opening code editor when using Homestead.
- Following PHP Standard Recommendations:
    - [PSR-1 (Basic Coding Standard)](http://www.php-fig.org/psr/psr-1/).
    - [PSR-2 (Coding Style Guide)](http://www.php-fig.org/psr/psr-2/).
    - [PSR-4 (Autoloading Standard)](http://www.php-fig.org/psr/psr-4/).
- Covered with unit tests.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0.0
- Laravel &gt;= 5.5.25

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

[](#installation)

First, pull in the package through Composer:

```
$ composer require cybercog/laravel-whoops-editor --dev
```

Configuration
-------------

[](#configuration)

Package designed to work right out of the box, but you could publish configuration file to tweak settings:

```
$ php artisan vendor:publish --provider="Cog\Laravel\WhoopsEditor\Providers\WhoopsEditorServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

Specify your editor by adding `APP_EDITOR=phpstorm` in `.env` file.

Optionally you can specify editor by adding `editor` key to the `./config/app.php` configuration file.

```
'editor' => 'phpstorm',
```

This package provides extended Linux support for editors: `phpstorm`, `idea`, `sublime`.

Complete list of supported editors could be found in [Whoops documentation](https://github.com/filp/whoops/blob/master/docs/Open%20Files%20In%20An%20Editor.md).

### Protocol Handlers

[](#protocol-handlers)

If your OS trying to open file in web browser instead of code editor you should install Protocol Handler.

EditorProtocolLinuxMacOSWindowsSublimeText`subl://`[thecotne/subl-protocol](https://github.com/thecotne/subl-protocol)--Atom`atm://`[eclemens/atom-url-handler](https://github.com/eclemens/atom-url-handler)[WizardOfOgz/atom-handler](https://github.com/WizardOfOgz/atom-handler)-Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Testing
-------

[](#testing)

Run the tests with:

```
$ vendor/bin/phpunit
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributors
------------

[](#contributors)

[![@antonkomarev](https://avatars.githubusercontent.com/u/1849174?s=110)
Anton Komarev](https://github.com/antonkomarev)[Laravel Whoops Editor contributors list](../../contributors)

Alternatives
------------

[](#alternatives)

- [GeneaLabs/laravel-whoops-atom](https://github.com/GeneaLabs/laravel-whoops-atom)

License
-------

[](#license)

- `Laravel Whoops Editor` package is open-sourced software licensed under the [MIT License](LICENSE) by [Anton Komarev](https://komarev.com).
- `Error In Document` image licensed under [Creative Commons 3.0](https://creativecommons.org/licenses/by/3.0/us/) by Kid A.

About CyberCog
--------------

[](#about-cybercog)

[CyberCog](https://cybercog.su) is a Social Unity of enthusiasts. Research best solutions in product &amp; software development is our passion.

- [Follow us on Twitter](https://twitter.com/cybercog)
- [Read our articles on Medium](https://medium.com/cybercog)

[![CyberCog](https://cloud.githubusercontent.com/assets/1849174/18418932/e9edb390-7860-11e6-8a43-aa3fad524664.png)](https://cybercog.su)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

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

Every ~0 days

Total

3

Last Release

3119d ago

Major Versions

1.0.0 → 2.0.02017-12-15

2.0.0 → 3.0.02017-12-15

### Community

Maintainers

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

---

Top Contributors

[![antonkomarev](https://avatars.githubusercontent.com/u/1849174?v=4)](https://github.com/antonkomarev "antonkomarev (20 commits)")

---

Tags

cogcybercogeditorexception-handlinghomesteadideideaintellijlaravelphpstormsublime-textvagrantwhoopslaravelideexceptionerrorwhoopseditorstacktracecogcybercog

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/cybercog-laravel-whoops-editor/health.svg)

```
[![Health](https://phpackages.com/badges/cybercog-laravel-whoops-editor/health.svg)](https://phpackages.com/packages/cybercog-laravel-whoops-editor)
```

###  Alternatives

[filp/whoops

php error handling for cool kids

13.2k420.3M1.5k](/packages/filp-whoops)[spatie/laravel-ignition

A beautiful error page for Laravel applications.

577155.2M541](/packages/spatie-laravel-ignition)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k322.4k1](/packages/cybercog-laravel-love)[graham-campbell/exceptions

Provides A Powerful Error Response System For Both Development And Production

5871.3M4](/packages/graham-campbell-exceptions)[zeuxisoo/slim-whoops

PHP whoops error on slim framework

1301.1M27](/packages/zeuxisoo-slim-whoops)[thehocinesaad/laravel-error-ai

This package adds Ask AI button to the error page.

2222.3k](/packages/thehocinesaad-laravel-error-ai)

PHPackages © 2026

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