atorscho / laravel-helpers by atorscho

Helper classes and functions for Laravel 5.
46
0
1
Package Data
Maintainer Username: atorscho
Maintainer Contact: contact@alextorscho.com (Alex Torscho)
Package Create Date: 2016-03-22
Package Last Update: 2017-03-12
Language: PHP
License: MIT
Last Refreshed: 2020-01-16 15:11:59
Package Statistics
Total Downloads: 46
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Laravel Helpers

Latest Version on Packagist Total Downloads Software License

A set of Laravel helper classes and functions.

How To Use

There are several files to view:

  • vendor/atorscho/laravel-helpers/src/Kinds/* - all classes in this folder
  • vendor/atorscho/laravel-helpers/src/functions.php - which are just helper functions

You can use either the Helper facade:

echo Helper::kind('paths')->assetCss('app.css');

... or the helper functions that are stored in src/functions.php.

You can also publish package's configuration file:

$ php artisan vendor:publish --provider="Atorscho\Helpers\ServiceProvider"

TODOs

  • [ ] Remove the facade and replace the Helper::kind() with a static method.
  • [ ] Remove vd() function (since Laravel already provides the same function dump().
  • [ ] Add user helper functions.
  • [ ] Create new file's name.

Change Log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please contact me at contact@alextorscho.com instead of using the issue tracker.

Credits

License

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