- 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.
- Building E-commerce Sites with VirtueMart Cookbook
- 物聯網(IoT)基礎:網絡技術+協議+用例
- Web Application Development with R Using Shiny
- 通信簡史:從信鴿到6G+
- Wireshark網絡分析就這么簡單
- IPv6網絡切片:使能千行百業新體驗
- 網管員必讀:網絡管理(第2版)
- Getting Started with nopCommerce
- 設備監控技術詳解
- 移動互聯網新思維
- Guide to NoSQL with Azure Cosmos DB
- Laravel Application Development Cookbook
- 信息技術安全評估準則:源流、方法與實踐
- 工業以太網技術:AFDX/TTE網絡原理、接口、互連與安全
- 世界互聯網發展報告2021