Skip to content

PrintNow/idea-php-laravel-plugin

 
 

Repository files navigation

IntelliJ IDEA / PhpStorm Laravel Plugin

THIS PROJECT IS DEAD. I'm not a new maintainer, I'm just a guy who needs this plugin to work in the latest PHPStorm version.

Installation

To install, go to Settings > Plugins and search for "Laravel Plugin".

Once installed, you must activate per-project by going to File > Settings > PHP > Laravel and clicking "Enable plugin for this project".

Note You must install and use the Laravel IDE Helper in order for PhpStorm to know how to find the Laravel classes.

Documentation and tutorials

Blade Template Namespace

To register custom Blade template paths use ide-blade.json files in directories which template related. Path need to be relative to its file position

{
  "namespaces": [
    {
      "namespace": "foo",
      "path": "res"
    },
    {
      "namespace": "foo"
    }
  ]
}

Make sure that the namespace does not have dot . delimiter, because the plugin will not work in that situation. For example, if the above example had namespace called foo.bar then it will not work correctly.

Screenshots

larevel phpstorm

About

Laravel Framework Plugin for PhpStorm / IntelliJ IDEA

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 96.9%
  • PHP 2.0%
  • Other 1.1%