diff --git a/.gitmodules b/.gitmodules
index be387c01..6b43dcbe 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -746,3 +746,6 @@ url = https://github.com/austinwagner/sublime-sourcepawn
[submodule "vendor/grammars/atom-language-srt"]
path = vendor/grammars/atom-language-srt
url = https://github.com/314eter/atom-language-srt
+[submodule "vendor/grammars/language-blade"]
+ path = vendor/grammars/language-blade
+ url = https://github.com/jawee/language-blade
diff --git a/grammars.yml b/grammars.yml
index d76e9546..3d6133c7 100755
--- a/grammars.yml
+++ b/grammars.yml
@@ -332,6 +332,8 @@ vendor/grammars/language-apl:
vendor/grammars/language-babel/:
- source.js.jsx
- source.regexp.babel
+vendor/grammars/language-blade/:
+- text.html.php.blade
vendor/grammars/language-click/:
- source.click
vendor/grammars/language-clojure:
diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml
index fcf6becf..04011607 100755
--- a/lib/linguist/languages.yml
+++ b/lib/linguist/languages.yml
@@ -330,6 +330,15 @@ BitBake:
- .bb
ace_mode: text
+Blade:
+ type: markup
+ group: HTML
+ extensions:
+ - .blade
+ - .blade.php
+ tm_scope: text.html.php.blade
+ ace_mode: text
+
BlitzBasic:
type: programming
aliases:
diff --git a/samples/Blade/hello.blade b/samples/Blade/hello.blade
new file mode 100644
index 00000000..1355b041
--- /dev/null
+++ b/samples/Blade/hello.blade
@@ -0,0 +1,21 @@
+
+
+
+ @yield('title', 'We love GitHub')
+ @stack('scripts')
+ @stack('styles')
+
+
+ @include('partials.nav')
+
+ @yield('content')
+
+
+ @foreach($foo as $bar)
+ - {{ $bar }}
+ @endforeach
+
+
+ {!! $raw_content !!}
+
+
diff --git a/samples/Blade/hello.blade.php b/samples/Blade/hello.blade.php
new file mode 100644
index 00000000..1355b041
--- /dev/null
+++ b/samples/Blade/hello.blade.php
@@ -0,0 +1,21 @@
+
+
+
+ @yield('title', 'We love GitHub')
+ @stack('scripts')
+ @stack('styles')
+
+
+ @include('partials.nav')
+
+ @yield('content')
+
+
+ @foreach($foo as $bar)
+ - {{ $bar }}
+ @endforeach
+
+
+ {!! $raw_content !!}
+
+
diff --git a/vendor/grammars/language-blade b/vendor/grammars/language-blade
new file mode 160000
index 00000000..50dcfb72
--- /dev/null
+++ b/vendor/grammars/language-blade
@@ -0,0 +1 @@
+Subproject commit 50dcfb72af30b267c4397f21742d79e4d564642f
diff --git a/vendor/licenses/grammar/language-blade.txt b/vendor/licenses/grammar/language-blade.txt
new file mode 100644
index 00000000..b79b7a7a
--- /dev/null
+++ b/vendor/licenses/grammar/language-blade.txt
@@ -0,0 +1,60 @@
+---
+type: grammar
+name: language-blade
+license: mit
+---
+Copyright (c) 2016 Andreas Olsson, Indrek Ardel
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+--------------------------------------------------------------------
+
+This package uses parts from [Atom language-php package](https://github.com/atom/language-php).
+
+> Copyright (c) 2014 GitHub Inc.
+
+> Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+> The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+> --------------------------------------------------------------------
+
+> This package was derived from a TextMate bundle located at
+https://github.com/textmate/php.tmbundle and distributed under the following
+license, located in `README.mdown`:
+
+> Permission to copy, use, modify, sell and distribute this
+software is granted. This software is provided "as is" without
+express or implied warranty, and with no claim as to its
+suitability for any purpose.