Laravel syntax support in PhpStorm 8.0.2

Hi all

I am new in PhpStrom with Laravel.

When I use Migration with Schema Builder as following code

 public function up()
{
  Schema::create('posts', function(Blueprint $table)
  {
    $table->increments('id');
    $table->string('title');
    $table->text('content');
    $table->integer('category_id')->unsigned()->index();
    $table->timestamps();
  });
 }

when I type $table->integer('category_id')->, I can't find any syntax tips for "unsigned()"


Is there any setting for PhpStorm to enable this syntax tips?

Thanks a lot.


Sam

0

I can recommend you to use the Laravel plugin: https://plugins.jetbrains.com/plugin/7532?pr=phpStorm

0

请先登录再写评论。