- Laravel Application Development Cookbook
- Terry Matula
- 228字
- 2021-07-23 15:33:31
Using Laravel with Sublime Text 2
One of the most popular text editors used for coding is Sublime Text. Sublime has many features that make coding fun, and with plugins, we can add in Laravel-specific features to help with our app.
Getting ready
Sublime Text 2 is a popular code editor that is very extensible and makes writing code effortless. An evaluation version can be downloaded from http://www.sublimetext.com/2.
We also need to have the Package Control package installed and enabled in Sublime, and that can be found at http://wbond.net/sublime_packages/package_control/installation.
How to do it...
For this recipe, follow these steps:
- In your menu bar, go to Preferences then Package Control:
- Choose Install Package:
- Search for
laravel
to see the listing. Choose Laravel 4 Snippets and let it install. After it's complete, choose Laravel-Blade and install it.
How it works...
The Laravel snippets in Sublime Text 2 greatly simplify writing common code, and it includes pretty much everything we'll need for application development. For example, when creating a route, simply start typing Route
and a list will pop up allowing us to choose which route we want, which then automatically completes the rest of the code we need.

There's more...
Installing the Laravel-Blade package is helpful if we use the Blade template system that comes with Laravel. It recognizes Blade code in the files and will automatically highlight the syntax.
- 社交網絡對齊
- 物聯網(IoT)基礎:網絡技術+協議+用例
- 物聯網關鍵技術及應用
- Spring Cloud微服務架構進階
- 智慧城市中的移動互聯網技術
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 城域網與廣域網(第2版)
- Working with Legacy Systems
- 光纖通信系統與網絡(修訂版)
- SAE原理與網絡規劃
- 網絡安全應急響應技術實戰指南
- 異構蜂窩網絡關鍵理論與技術
- 現代通信系統(第5版)
- NB-IoT原理和優化
- Intelligent Mobile Projects with TensorFlow