hnhdigital-os / laravel-extras by bluora

Provides a collection of extras for Laravel 5.
17
1
1
Package Data
Maintainer Username: bluora
Maintainer Contact: rocco@hnh.digital (Rocco Howard)
Package Create Date: 2016-11-22
Package Last Update: 2017-09-08
Language: PHP
License: MIT
Last Refreshed: 2024-11-15 15:03:28
Package Statistics
Total Downloads: 17
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Laravel Extras

Provides various extra features and functionality for Laravel 5.

Latest Stable Version Total Downloads Latest Unstable Version License

Build Status StyleCI Test Coverage Issue Count Code Climate

This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.

Provides

  • Blade directives to reduce php in a blade template.

Install

Via composer:

$ composer require hnhdigital-os/laravel-extras dev-master

Enable additional blade directives by editing config/app.php:

    'providers' => [
        ...
        Bluora\LaravelExtras\BladeDirectiveServiceProvider::class,
        ...
    ];

Usage

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'; ?>

Contributing

Please see CONTRIBUTING for details.

Credits

License

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