phpstorm-laravel-live-templates

Laravel Live Templates for PhpStorm

Github星跟踪图

Laravel Live Templates for PhpStorm

How to:

  1. Go to Preferences, Tools, Settings Repository

  2. Add Read-only Source https://github.com/koomai/phpstorm-laravel-live-templates

  3. Restart PhpStorm.

  4. To see all templates, go to Preferences, Live Templates and expand the Template Group.

It's hard to remember shortcuts when there are a large number of options. A
more efficient way is to take advantage of PhpStorm's Insert Live Template
shortcut. Type as few or as many letters as you want and press Cmd + J. Then
continue typing to filter the options.

For example, for the Schema Builder, type Sc or Sch or Schema and press Cmd + J.

Note: In the preview version of PhpStorm 8, live templates show up
automatically as you type the first few letters. You should still press Cmd + J to filter out everything else (classes, variables, etc).

Supported Live Templates

Annotations

Route Annotations Screenshot

Tip: Type @ and then Cmd+J inside a docblock to see the options.

Blade

Laravel Blade Screenshot

Requests & Input

Laravel Input Screenshot

Laravel Input Screenshot

Laravel Requests Screenshot

Laravel Cookie Screenshot

Routes

Laravel Routes Screenshot

All Route verbs are labelled get by default, but you can change it easily once the shortcut is expanded:

Laravel Routes Screenshot

Views, Responses and Redirects

Laravel Views Screenshot

Laravel Responses Screenshot

Laravel Redirects Screenshot

Schema Builder

Laravel Schema Screenshot

Laravel Tables Screenshot

Cache

Laravel Cache Screenshot

Form

Laravel Form Screenshot

Session

Laravel Session Screenshot

Helpers

Laravel Helpers Screenshot

==========

Other goodies

Take your PhpStorm productivity to the next level with these keyboard shortcuts.

主要指标

概览
名称与所有者koomai/phpstorm-laravel-live-templates
主编程语言
编程语言 (语言数: 0)
平台
许可证The Unlicense
所有者活动
创建于2014-03-04 10:55:20
推送于2022-09-23 01:29:20
最后一次提交2022-09-23 11:29:20
发布数0
用户参与
星数1.2k
关注者数74
派生数163
提交数75
已启用问题?
问题数19
打开的问题数0
拉请求数11
打开的拉请求数0
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?