Downloads
Stars
Version
Push arbitrary content to laravel stacks from anywhere.
You can install the package via composer:
composer require ideatocode/blade-stacks-pusher
use Ideatocode\BladeStacksPusher\Facades\BSP;
BSP::push('scripts', function () {
return '<script>console.log("It Works!")</script>';
});
BSP::push('scripts', '<script>console.log("This also works!")</script>');
BSP::push('scripts', view('test'));
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.