All Projects → javidalpe → laravel-blade-phpstorm-live-template

javidalpe / laravel-blade-phpstorm-live-template

Licence: MIT License
PhpStorm Live Templates for Laravel Templates (Blade)

Projects that are alternatives of or similar to laravel-blade-phpstorm-live-template

laravel-easyblade
Create an easier & readable Blade (view) in Laravel with EasyBlade
Stars: ✭ 64 (+100%)
Mutual labels:  blade, laravel-blade
Idea Php Laravel Plugin
Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
Stars: ✭ 537 (+1578.13%)
Mutual labels:  blade, phpstorm
edge
[READ ONLY] A Blade compatible template engine with much extendable interface.
Stars: ✭ 26 (-18.75%)
Mutual labels:  blade, blade-template
blade
🏃 A library for using Laravel Blade templates in WordPlate.
Stars: ✭ 28 (-12.5%)
Mutual labels:  blade, blade-template
laravel-simple-select
Laravel Simple Select inputs component for Blade and Livewire.
Stars: ✭ 59 (+84.38%)
Mutual labels:  blade, blade-template
kirby-blade
Enable Blade for Kirby 3
Stars: ✭ 14 (-56.25%)
Mutual labels:  blade, blade-template
database
Aplus Framework Database Library
Stars: ✭ 147 (+359.38%)
Mutual labels:  phpstorm
jigsaw-blog-template
Starter template for a blog, using Jigsaw by Tighten
Stars: ✭ 75 (+134.38%)
Mutual labels:  blade
idea-php-typo3-plugin
TYPO3 CMS Plugins for IntelliJ IDEA / PhpStorm
Stars: ✭ 93 (+190.63%)
Mutual labels:  phpstorm
freechat
🐶 online anonymous chat application.
Stars: ✭ 31 (-3.12%)
Mutual labels:  blade
blade-zondicons
A package to easily make use of Zondicons in your Laravel Blade views.
Stars: ✭ 52 (+62.5%)
Mutual labels:  blade
laravel-query-intellij
💿 Laravel Query Builder integration for PhpStorm
Stars: ✭ 37 (+15.63%)
Mutual labels:  phpstorm
think-blade
Blade template engine with thinkphp 5. (component & slot support)
Stars: ✭ 34 (+6.25%)
Mutual labels:  blade
blade-generate
Forces generation of Blade template cache files for Sage9.
Stars: ✭ 64 (+100%)
Mutual labels:  blade-template
artisan-static
A feature-rich starter template for building a static Jigsaw blog hosted on Netlify.
Stars: ✭ 40 (+25%)
Mutual labels:  laravel-blade
Slice-Library
Slice-Library is a CodeIgniter library that simulates Laravel's Blade templating system!
Stars: ✭ 60 (+87.5%)
Mutual labels:  blade-template
cli
Aplus Framework CLI Library
Stars: ✭ 104 (+225%)
Mutual labels:  phpstorm
local-wordpress-development
WordPress Local Web Development Guide for Mac OS X
Stars: ✭ 17 (-46.87%)
Mutual labels:  phpstorm
validation
Aplus Framework Validation Library
Stars: ✭ 99 (+209.38%)
Mutual labels:  phpstorm
blade-simple-icons
A package to easily make use of Simple Icons in your Laravel Blade views.
Stars: ✭ 12 (-62.5%)
Mutual labels:  blade

Laravel Blade Live Templates

PhpStorm Live templates let you insert frequently-used or custom code constructs into your source code file quickly, efficiently, and accurately.

This repo contains live templates for frequently-used Laravel Blade directives.

Demo

How to install

  1. Download and copy the Laravel-Blade.xml file to your templates folder:
  • Windows: <your home directory>\.<product name><version number>\config\templates
  • Linux: ~\.<product name><version number>\config\templates
  • OS X: ~/Library/Preferences/<product name><version number>/templates

e.g. ~/Library/Preferences/PhpStorm2017.2/templates on OS X for PhpStorm 2017

  1. Restart PhpStorm.

  2. To see all templates, go to Preferences->Live Templates and expand Laravel-Blade.

Templates

  • @elseif : Blade @elseif
  • @for : Blade @for
  • @foreach : Blade @foreach
  • @if : Blade @if
  • @ifelse : Blade @ifelse
  • @include : Blade @include
  • @layout : Blade template skeleton
  • @section : Blade @section
  • @while : Blade @while
  • {{ : Blade {{ echo data }}
  • @yield : Blade @yield
  • @extends : Blade @extends
  • @sectionx : Blade @section extended
  • {{{ : Blade {{{ echo escaped data }}}
  • @unless : Blade @unless
  • {{-- : Blade comments
  • @forelse : Blade @forelse
  • {!! : Blade {!! echo raw data !!}
  • @component : Blade @component
  • component : Blade component scaffold
  • @auth : Blade @auth
  • @guest : Blade @guest
  • @switch : Blade @switch
  • @includeWhen : Blade @includeWhen
  • @each : Blade @each
  • @push : Blade @push
  • @stack : Blade @stack
  • @inject : Blade @inject
  • @can : Blade @can
  • @cannot : Blade @cannot
  • @verbatim : Blade @verbatim
  • @isset : Blade @isset
  • @empty : Blade @empty
  • mix : Laravel's global mix function
  • @lang : Blade @lang
  • @slot : Blade @slot
  • @json : Blade @json
  • @hasSection : Blade @hasSection
  • @csrf : Blade CSRF Field
  • @method : Blade @method
  • @includeIf : Blade @includeIf
  • @includeFirst : Blade @includeFirst
  • @prepend : Blade @prepend
  • @doc : Blade @php /** PHPDoc */

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-directive)
  3. Replace the Laravel-Blade.xml with your current config file from PhpStorm templates folder.
  4. Update this README.md file.
  5. Commit your changes (git commit -m 'Add new blade directive')
  6. Push to the branch (git push origin my-new-directive)
  7. Create new Pull Request

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].