Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathieutu/laravel-open-in-editor
Let the "Open in Editor" feature from vuejs devtools works with Laravel.
https://github.com/mathieutu/laravel-open-in-editor
Last synced: about 19 hours ago
JSON representation
Let the "Open in Editor" feature from vuejs devtools works with Laravel.
- Host: GitHub
- URL: https://github.com/mathieutu/laravel-open-in-editor
- Owner: mathieutu
- Created: 2018-01-31T15:23:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T09:42:14.000Z (almost 7 years ago)
- Last Synced: 2024-11-24T11:29:57.114Z (30 days ago)
- Language: PHP
- Homepage:
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Open In Editor
[![Latest Version on Packagist](https://img.shields.io/packagist/v/mathieutu/laravel-open-in-editor.svg?style=flat-square)](https://packagist.org/packages/mathieutu/laravel-open-in-editor)
[![Build Status](https://img.shields.io/travis/mathieutu/laravel-open-in-editor/master.svg?style=flat-square)](https://travis-ci.org/mathieutu/laravel-open-in-editor)
[![Quality Score](https://img.shields.io/scrutinizer/g/mathieutu/laravel-open-in-editor.svg?style=flat-square)](https://scrutinizer-ci.com/g/mathieutu/laravel-open-in-editor)
[![Total Downloads](https://img.shields.io/packagist/dt/mathieutu/laravel-open-in-editor.svg?style=flat-square)](https://packagist.org/packages/mathieutu/laravel-open-in-editor)Let the "Open in Editor" feature from devtools works with Laravel.
[See example on youtube](https://www.youtube.com/watch?v=XBKStgyhY18)
## Installation
You can install the package via composer:
```bash
composer require --dev mathieutu/laravel-open-in-editor
```## Usage
When app is in debugging mode, the package let you use the "open in editor" function of devtools.
Under the hood, it creates a `__open-in-editor?file=MYFILE&line=MYLINE` route, that you can call from anywhere and that will open on the fly the given file directly in your IDE!
It uses the editor methods of [Whoops handler](https://github.com/filp/whoops/blob/master/docs/Open%20Files%20In%20An%20Editor.md), so you have to set your editor by adding the `editor` key to the `./config/app.php` configuration file.
```php
'editor' => 'phpstorm',
```### License
This package is an open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).
### Contributing
Issues and PRs are obviously welcomed and encouraged, as well for new features than documentation.
Each piece of code added should be fully tested, but we can do that all together, so please don't be afraid by that.