Laravel Community Tools by
Tighten
Laravel Versions
PHP Releases
Nova Packages
Laravel Tricks
Forge Recipes
Toggle navigation
Log in
Log in
Lee Mason
Joined:
10 years ago
Total tricks:
1
Last trick:
10 years ago
Submitted tricks
Eloquent
Make any model attribute blade compilable
This trait allows you to save any column from any model into a location within the storage directory to allow the column to be blade compilable with view()->file($model->getViewableColumnPath('column_name')); The trait
leemason
10 years ago
6856
blade
database
view data