2017 © Pedro Peláez
 

library laravel-helpers

A collection of Laravel helpers

image

taylornetwork/laravel-helpers

A collection of Laravel helpers

  • Thursday, October 5, 2017
  • by taylornetwork
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Laravel Helpers

A collection of useful helper functions for Laravel. Also will include user created helper functions., (*1)

Install

Via Composer, (*2)

``` bash $ composer require taylornetwork/laravel-helpers, (*3)


## Setup Laravel should automatically discover the package service provider. If that doesn't work for some reason, follow the Manual Setup. ### Manual Setup Only use these steps if Laravel does not auto discover the service provider. Add the service provider to the providers array in your `config/app.php` ``` php 'providers' => [ TaylorNetwork\LaravelHelpers\LaravelHelpersServiceProvider::class, ];

Publish Config

``` bash $ php artisan vendor:publish, (*4)


This adds `laravel_helpers.php` to your `config` directory ## Included Helpers Click on any of the links to see the helper documentation - [replace_variables][link-replace-variables] - [associative_implode][link-associative-implode] ## Usage To create a helper function ``` bash $ php artisan make:helper HelperName

Will create an app/Helpers directory and add HelperName.php, (*5)

``` php // app/Helpers/HelperName.php, (*6)

if(!function_exists('HelperName')) { /** * HelperName */ function HelperName () { // Code } } ```, (*7)

This will automatically be included and you can call HelperName() anywhere in your code., (*8)

Customization

By default TaylorNetwork\LaravelHelpers\LaravelHelpersServiceProvider will include all helpers included with this package and all helpers found in app\Helpers. You can change this in config/laravel_helpers.php, (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

05/10 2017

dev-master

9999999-dev

A collection of Laravel helpers

  Sources   Download

MIT

The Requires

 

by Sam Taylor

05/10 2017

1.3.0

1.3.0.0

A collection of Laravel helpers

  Sources   Download

MIT

The Requires

 

by Sam Taylor

09/09 2017

1.2.0

1.2.0.0

A collection of Laravel helpers

  Sources   Download

MIT

The Requires

 

by Sam Taylor

20/02 2017

1.1.0

1.1.0.0

A collection of Laravel helpers

  Sources   Download

MIT

The Requires

 

by Sam Taylor

18/11 2016

1.0.1

1.0.1.0

A collection of Laravel helpers

  Sources   Download

MIT

The Requires

 

by Sam Taylor

18/11 2016

1.0.0

1.0.0.0

A collection of Laravel helpers

  Sources   Download

MIT

The Requires

 

by Sam Taylor