Skip to content

builtbybrayne/WordpressUnderscore.php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordpressUnderscore.php

WordpressUnderscore.php is a wordpress-friendly fork of the Underscore.php PHP port of Underscore.js.

Usage

__u().fn() or __u::fn() 

instead of

__().fn() or __::fn() 

See above links for details of the actual funtions.

Notes

In addition to porting Underscore's functionality, Underscore.php includes matching unit tests. Thanks to Jeremy Ashkenas and all contributors to Underscore.js.

For docs, license, tests, change log, and downloads, see: http://brianhaveri.github.com/Underscore.php

Why Not A Wordpress Plugin?

Because it's tiny and only useful for developers.

If you're a developer and unfamiliar with Composer, go check it out. You can use it to load utility libraries into your plugins or themes.

About

Wordpress-friendly PHP port of Underscore.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%