GithubHelp home page GithubHelp logo

laravel-5-snippets-zh-cn's Introduction

Laravel 5 Snippets for Sublime Text

Latest Version Laravel Version Package Control

安装

Package Control : 安装 Laravel 5 Snippets 最简单的方式就是使用Sublime的 Package Control, http://wbond.net/sublime_packages/package_control.

首选项 -> Package Control -> 输入'Install Package' 回车, 查找 "Laravel 5 Snippets"

Git : Clone the repository in your Sublime Text "Packages"目录:

git clone https://github.com/Lykegenes/laravel-5-snippets.git "Laravel 5 Snippets"

其他 : 从github上下载最新版本的源码并把"Laravel 5 Sippets"文件夹整个复制到X:\sublime text\Data\Packages下.

Usage

The included snippets are organized in categories following Laravel's Facades and their documentation; such as Auth::, Config:: and Session::. This way, you can quickly search for what you'd like to accomplish thanks to Sublime Text fuzzy search.

All the snippets in this package follow the following naming convention : {category}::{function name}. For example : Auth::check will produce this snippet in your code : Auth::check().

Included snippets

Here are the available snippet categories and prefixes :

Prefix Notes
Auth
Blade Add , text.html to the default value of "auto_complete_selector" in your Sublime Text settings to allow Snippets autocomplete in Blade files.
Cache
Config
Console
Cookie
Crypt
DB To create raw database queries and transactions.
Event
Hash
Helper Contains sub-categories : Helper::array, Helper::misc, Helper::path, Helper::strings, and Helper::url; just like in Laravel's documentation.
Input
Log
Mail
Redirect
Relation To create model relationships.
Response
Route
Schema Contains two sub-categories : Schema:: for snippets related to the database table itself; and Column:: for snippets related to the columns.
Session
Storage
View

Credits

License

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

laravel-5-snippets-zh-cn's People

Contributors

felicianopj avatar jeanpierreb avatar omarito2412 avatar patricksamson avatar rhynodesigns avatar ri5h avatar weip avatar xcheukx avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.