Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.13 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.13 KB

Blade Directive Helpers

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 [email protected] instead of using the issue tracker.

Credits

License

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