Provides a collection of extras for Laravel 5.
This package is auto-updated.
Last update: 2020-06-21 16:36:56 UTC
Provides various extra features and functionality for Laravel 5.
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.
- Blade directives to reduce php in a blade template.
$ composer require hnhdigital-os/laravel-extras dev-master
Enable additional blade directives by editing config/app.php:
'providers' => [ ... Bluora\LaravelExtras\BladeDirectiveServiceProvider::class, ... ];
In a blade template:
@call('test()') @csrf @raw(echo 'This is a raw command')
Would render to:
<?php test(); ?> <?= csrf_field(); ?> <?php echo 'This is a raw command'; ?>
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.