octopyid/blade-directive-helpers

Blade directive for frequently used helpers

Maintainers

Package info

github.com/OctopyID/BladeDirectiveHelpers

pkg:composer/octopyid/blade-directive-helpers

Statistics

Installs: 112

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.1 2021-09-14 18:30 UTC

This package is auto-updated.

Last update: 2026-03-12 09:40:33 UTC


README

Blade syntax for frequently used Laravel helpers, such as route, asset, url and so on.

Installation

To install the package, simply follow the steps below.

Install the package using Composer:

$ composer require octopyid/blade-directive-helpers

Usage

Just add @ at the beginning of the helper keyword. For example, you often use syntax like this {{ route('foo.bar') }} with this package you can just write @route('foo.bar')

HELPER COMMON USAGE PACKAGE USAGE
url {{ url('foo') }} @url('foo')
mix {{ mix('foo') }} @mix('foo')
asset {{ asset('foo') }} @asset('foo')
route {{ route('foo', []) }} @route('foo', [])

Security

If you discover any security related issues, please email bug@octopy.id instead of using the issue tracker.

Credits

License

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