PHPackages                             unckleg/laravel-helpers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. unckleg/laravel-helpers

ActiveLibrary[Templating &amp; Views](/categories/templating)

unckleg/laravel-helpers
=======================

Laravel helpers package lets you use and create custom view/action helpers.

1.0.1(9y ago)0221MITPHPPHP &gt;=5.4

Since May 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/unckleg/laravel-helpers)[ Packagist](https://packagist.org/packages/unckleg/laravel-helpers)[ Docs](https://github.com/unckleg/laravel-helpers)[ RSS](/packages/unckleg-laravel-helpers/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

[![](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

 **View &amp; Action Helpers**

[![Version](https://camo.githubusercontent.com/c480fb98bd45f5d5d26e599cc89d6d939b03a0ef9ac4c7f9b099c5c5dc189415/68747470733a2f2f62616467652e667572792e696f2f67682f756e636b6c65672532466c61726176656c2d68656c706572732e737667)](https://cubes.rs/)[![License](https://camo.githubusercontent.com/3950454bd41aa92a19854a4ad516b52a3f53211ab0ebc68beff94e5379a2036b/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6666363962342e7376673f7374796c653d666c61742d737175617265)](https://mit-license.org/)

---

*Laravel helpers package lets you use and create custom view/action helpers.*

Installation
------------

[](#installation)

Pull package:

```
composer require unckleg/laravel-helpers
```

Register service provider in config/app

```
...
Unckleg\Helpers\HelpersServiceProvider::class,
```

Example
-------

[](#example)

Create app/Helpers directory or run command:

```
php artisan make:helper Hello --type=View
```

- Hello - Name of View Helper
- type - View or Action

Command will create directory and Helper for you.

- Helper

```

                @foreach($pages as $page)

                            {{ $page->title }}

                @endforeach
