reed-jones/roller-blade

A collection on custom blade directives that I find useful

0.0.1 2018-06-11 02:12 UTC

This package is auto-updated.

Last update: 2024-12-09 16:02:24 UTC


README

A small collection of custom blade directives to be used with Laravel.

Tested on Laravel 5.6+

Directives

Installation

  1. Add "@php artisan view:clear" to your "post-dump-autoload" script in your projects composer.json. It should be the last line, right after "@php artisan package:discover".
"post-autoload-dump": [
  "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  "@php artisan package:discover",
  "@php artisan view:clear"
]
  1. composer require reed-jones/roller-blade

If you would prefer not to add the view:clear command to your composer.json file, you can simply run php artisan view:clear after installing (and updating, and uninstalling).