hnhdigital-os/laravel-extras

Provides a collection of extras for Laravel 5.
17 1
Install
composer require hnhdigital-os/laravel-extras:dev-master
PHP:>=5.4.0
License:MIT
Last Updated:Sep 8, 2017
Links: GitHub  ·  Packagist
Maintainer: bluora

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.

Related Packages

curtisblackwell/laravel-blade-directive-yaml-injector

A short description of what your package does

15 1
adwisemedia/blade-directives

A set of Blade directives for use with Roots Sage.

146 0
log1x/sage-directives

A set of Blade directives for use with Roots Sage.

823,048 300
philo/laravel-blade

Use the simple and yet powerful Laravel Blade templating engine as a standalone...

689,955 355
wapmorgan/morphos-blade

Adds @plural, @name, @numeral, @ordinal and @money tags to Blade for Russian plu...

90,305 33