laravel-5-snippets
Laravel 5 snippets for Atom.
wboyz 26,944 9 0.19.0 MIT GitHub

Laravel 5 Snippets for Atom

Install

Atom Package: https://atom.io/packages/laravel-5-snippets.

apm install laravel-5-snippets

Or Settings/Preferences ➔ Install ➔ Search for laravel-5-snippets. You should restart Atom after the Install / Update of the package.

Currently Available Snippets

  • dd: Die dump. dd().
  • dump: Dump without die. dump().
  • l:hm: HasMany method.
  • l:bt: BelongsTo method.
  • l:btm: BelongsToMany method.
  • l:ho: HasOne method.
  • l:fillable: Fillable model property.
  • l:guarded: Guarded model property.
  • l:hidden: Hidden model property.
  • l:visible: Visible model property.
  • l:dates: Dates model property.
  • l:appends: Appends model property.
  • l:casts: Casts model property.
  • l:scope: Scope method.
  • l:accessor: Accessor method.
  • l:controller: Controller method.

A screenshot of your package