• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-laravel-snippets

Laravel 5 snippets for Atom.
  • #laravel
  • #snippets
michael-lurquin
0.8.0 7,612
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Laravel 5 Snippets for Atom

Install

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

apm install atom-laravel-snippets

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

Snippets

Eloquent : Relationships

  • ho: hasOne
  • hm: hasMany
  • bt: belongsTo
  • btm: belongsToMany
  • hot: hasOneThrough
  • hmt: hasManyThrough
  • mt: morphTo
  • mo: morphOne
  • mm: morphMany
  • mtm: morphToMany
  • mbm: morphedByMany

Eloquent : Mutators

  • getA: Accessor
  • setA: Mutator

Eloquent : Query Scopes

  • scope: Local scope
  • scopeDyn: Dynamic scope

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by