Skip to content

laradic-old/support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laradic Support

Build Status GitHub Version Code Coverage Total Downloads License

Goto Documentation Goto API Documentation Goto Repository


Version 1.2

Laravel 5 support package.

Check the documentation for all features and options (NA yet..)

Todo

  • Cleanup
  • Tests (String tests are done but located outside of the package)

Installation

Composer

"laradic/support": "~1.2"

Laravel

Note: The SupportServiceProvider is only needed if you want to use the Filesystem class trough IoC.

'Laradic\Support\SupportServiceProvider'

Overview

Classes

Class Usage Description
Object Object::first(['a', 'b']) Object helper functions
Number Number::paddingLeft(['a', 'b']) Number helper functions
Arrays Arrays::unflatten($arr, '.') Array helper functions
String String::slug('Ha lo') Combines Laravel, Underscore and Stringy functions into 1
Path Path::join('My', 'New', 'Path') Provides utility methods for handling path strings
Filesystem App::make('files')
new Filesystem()
Extra filesystem functions
TemplateParser new TemplateParser(Filesystem $files, $sourceDir) Parse stubs into files

Traits

Trait Description
DotArrayAccessTrait Implements ArrayAccess functionality into a class
EventDispatcherTrait Implements event dispatcher functionality into a class
NamespacedItemResolverTrait Implements namespace functionality into a class
And some others, TBD.

Helpers

Check the helpers.php file for an overview

Copyright/License

Copyright 2015 Robin Radic - MIT Licensed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published