Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 957 Bytes

README.md

File metadata and controls

48 lines (40 loc) · 957 Bytes

Laravel-Array-Helper-JS

Contributers and Javascript Experts are welcome, ask me to become a contributor, make pull requests, or post changes as issues and I can merge them for you.

Javascript equivalent of Laravel's PHP Array Helpers

http://laravel.com/docs/4.2/helpers

Done and Quality Tested:

  • none

Written:

  • array_dot
  • array_get
  • array_set
  • array_flatten
  • array_first
  • array_only <-- requires jQuery
  • array_except <-- requires jQuery
  • array_fetch
  • array_has

TODO:

  • array_add
  • array_divide
  • array_dot
  • array_except
  • array_fetch
  • array_first
  • array_last
  • array_flatten
  • array_forget
  • array_get
  • array_only
  • array_pluck
  • array_pull
  • array_set
  • array_sort
  • array_where

Bower

Add this to your bower.json file:

    "sg-laravel-array-helpers":"git://github.com/SpaceGazebo/Laravel-Array-Helper-JS"