bluora / laravel-extras
This package is abandoned and no longer maintained.
The author suggests using the hnhdigital-os/laravel-extras package instead.
Provides a collection of extras for Laravel 5.
dev-master
2017-09-08 01:55 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- illuminate/database: 4.*|5.*
- phpunit/phpunit: 4.*
- symfony/process: ~2.3
This package is not auto-updated.
Last update: 2022-02-01 13:03:09 UTC
README
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.
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.