2017 © Pedro Peláez
 

library laravel-whoops-atom

Open Whoops Stack Trace in Atom Editor.

image

genealabs/laravel-whoops-atom

Open Whoops Stack Trace in Atom Editor.

  • Wednesday, January 3, 2018
  • by mikebronner
  • Repository
  • 1 Watchers
  • 1 Stars
  • 151 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 344 % Grown

The README.md

laravel-whoops-atom, (*1)

Whoops-Atom for Laravel

Join the chat at https://gitter.im/GeneaLabs/laravel-whoops-atom SensioLabs Insight Scrutinizer GitHub (pre-)release Packagist GitHub license, (*2)

Goal

Provide a method to open stack trace files from the Whoops error page, like is available for some other editors., (*3)

Installation

Dependencies

  • Laravel 5.5.25 or greater
  • PHP 7.0.0 or higher
  • Atom Open Package
  1. Install the package:, (*4)

    composer require genealabs/laravel-whoops-atom --dev
    
  2. Install Atom Open package., (*5)

Configuration

/*
|--------------------------------------------------------------------------
| Local Sites Path
|--------------------------------------------------------------------------
|
| Specify the local development folder that is synchronized with Homestead.
| If you are not using Homestead, set this to an empty string or null.
| This corresponds to the `-map:` line under `folders` in your
| `Homestead.yaml` file.
|
| Default: ~/Code (string|null)
|
*/
'local-sites-path' => '~/code',

/*
|--------------------------------------------------------------------------
| Homestead Sites Path
|--------------------------------------------------------------------------
|
| Specify the base path where Homestead stores the synced folder with your
| web sites. If you are not using Homestead, set this to an empty string
| or null. This corresponds to the `to:` line under `folders` in
| your `Homestead.yaml` file.
|
| Default: /home/vagrant/Code (string|null)
|
*/
'homestead-sites-path' => '/home/vagrant/code',

Only publish the config file if you need to customize it:, (*6)

php artisan whoops-atom:publish --config

Usage

Warning: this package inserts a closure into a configuration setting. As this is intended for development environments only. To work with this, we recommend that you don't cache your config settings in your dev environment., (*7)

That was it! It will apply itself automatically to your application configuration., (*8)

The Versions