Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Komayo's avatar

Phpstorm & LiveEdit

Iam having some trouble "Live Editing" a ".blade.php" view in phpstorm. I have the plugin installed and enabled and the chrome extension installed. When i enter the debug mode, i get the message that the page is working with jetbrains ide support, then make some changes on the view, but page is not refreshed...

Anyone managed to make it working? Or is there a trick for it?

0 likes
12 replies
Komayo's avatar

Managed to make it working via Gulp task using gulp-livereload. Maybe it helps someone.

davorminchorov's avatar

How did you set it up? I wanna use something like that. I've heard of livereload but I've never managed to set it up.

domioanna's avatar

Same here, I've tried to get it set up but it never seems to work for me.

Komayo's avatar

Here it is,

  • Requires: Chrome LiveReload Extension

gulpfile.js (For Laravel 5)
Laravel 4, please modify source in 'laravel-views' task.

    var gulp = require('gulp');
    var livereload = require('gulp-livereload');

    /**
     * task - 'default'
     * executes 'live-monitor'
     */
    gulp.task('default', ['live-monitor']);

    /**
     * task - 'laravel-views'
     * monitor laravel views
     */
    gulp.task('laravel-views', function() {
        gulp.src('resources/views/**/*.blade.php')
            .pipe(livereload());
    });

    /**
     * task - 'live-monitor'
     * monitors everything
     */
    gulp.task('live-monitor', function() {
        livereload.listen();
        gulp.watch('resources/views/**/*.blade.php', ['laravel-views']);
    });

just run "gulp" via terminal and make sure to not forget enable the LiveReload Chrome Extension, in the toolbar button. xD.

3 likes
domioanna's avatar

The views thing works fine, just trying to tie it into Elixir and get it working for assets.

Komayo's avatar

I have that too. But not using elixir. Just Gulp directly.

Komayo's avatar

If you guys have any trouble in sync the output files generated by gulp, i can provide my trick to resolve that issue at least in phpstorm IDE.

Please or to participate in this conversation.