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 laravel-whoops-atom package or publish config and specify launch path in editors config section.
- PHPStorm cross-platform support.
- IDEA cross-platform support.
- Sublime cross-platform support.
- Allow opening code editor when using Homestead.
- Following PHP Standard Recommendations:
- Covered with unit tests.
- PHP >= 7.0.0
- Laravel >= 5.5.25
First, pull in the package through Composer:
$ composer require cybercog/laravel-whoops-editor --dev
Package designed to work right out of the box, but you could publish configuration file to tweak settings:
$ php artisan vendor:publish --provider="CogLaravelWhoopsEditorProvidersWhoopsEditorServiceProvider" --tag="config"
Specify your editor by adding
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:
Complete list of supported editors could be found in Whoops documentation.
If your OS trying to open file in web browser instead of code editor you should install Protocol Handler.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Run the tests with:
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Laravel Whoops Editor contributors list
Laravel Whoops Editor package is open-sourced software licensed under the MIT License by Anton Komarev.
Error In Document image licensed under Creative Commons 3.0 by Kid A.
CyberCog is a Social Unity of enthusiasts. Research best solutions in product & software development is our passion.